interface MeritsProps {
    buttonHref: string;
    buttonText?: string;
    meritItems: MeritItem[];
    onNavigate?: ((url) => void);
    screenMode: "desktop" | "mobile";
    subtitle: string;
    titleLine1: string;
    titleLine2?: string;
}

Properties

buttonHref: string

URL for the call to action button

buttonText?: string

Text for the call to action button

meritItems: MeritItem[]

Each merit item to display

onNavigate?: ((url) => void)

Function to call when the user clicks the call to action button

Type declaration

    • (url): void
    • Function to call when the user clicks the call to action button

      Parameters

      • url: string

      Returns void

screenMode: "desktop" | "mobile"

What size the screen currently is (affects page layout)

subtitle: string

Subtitle text

titleLine1: string

First line of the biggest text on the page

titleLine2?: string

Second line of the biggest text on the page

Generated using TypeDoc