UNPKG

northants-design-system

Version:

Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.

50 lines (49 loc) 1.38 kB
export interface HeaderProps { /** * Hide the searchbar, set to true on the search page so there aren't two search inputs. */ hideSearchBar?: boolean; /** * Set to true to include a link to /accessibility in the header */ accessibilityLink?: string; /** * Link to the root of the website that will be used on the logo */ homeLink?: string; /** * Set to true to include a link to /news in the header */ hasNewsLink?: boolean; /** * Set to true to include a link to /directory in the header */ hasDirectoryLink?: boolean; /** * Should the footer have google translate? Defaults to false. */ hasTranslate?: boolean; /** * Should the header have an events link? Defaults to false. */ hasEventsLink?: boolean; /** * Link to the list of all services displayed at top right (#all-services anchor added to this) */ allServicesLink?: string; /** * This flag is used to alter the all-services link to an in-page anchor if true */ isHomepage?: boolean; /** * Array of suggestions for the autocomplete input in the search bar */ searchSuggestions?: string[]; /** * The Header contents */ children?: React.ReactNode; hasCludo?: boolean; customerId?: number; engineId?: number; }