interface SearchByButtonsPageProps {
    buttons: {
        href: string;
        text: string;
    }[];
    onNavigate: ((to) => void);
    screenMode: "desktop" | "mobile";
    subtitle: string;
    title: string;
}

Properties

buttons: {
    href: string;
    text: string;
}[]

The list of buttons in this group

Type declaration

  • href: string

    The URL to navigate to when the chip is clicked

  • text: string

    The text to display in the chip

onNavigate: ((to) => void)

Callback when navigating to a url

Type declaration

    • (to): void
    • Callback when navigating to a url

      Parameters

      • to: string

      Returns void

screenMode: "desktop" | "mobile"

What size the screen currently is (affects page layout)

subtitle: string

Subtitle text

title: string

Biggest text on the page

Generated using TypeDoc