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

Properties

chipGroups: {
    chips: {
        href: string;
        text: string;
    }[];
    title: string;
}[]

Each group of chips to display in the SearchBychips

Type declaration

  • chips: {
        href: string;
        text: string;
    }[]

    The list of chips in this group

  • title: string

    The title of this group of chips

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