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.
37 lines (36 loc) • 979 B
TypeScript
export interface SignpostLinksProps {
/**
* Optional override for the top line of text
*/
TopLineText?: string;
/**
* An array of the SignpostLinks
*/
signpostLinksArray: Array<SignpostLinkProp>;
/**
* Optional, but recommended - a link to send the user to the other council's (West or North) specific service page, defaults to the homepage
*/
otherCouncilLink?: string;
/**
* Optional - Type of sovereign
*/
sovereignType?: 'sovereigns' | 'wastesovereigns';
}
export interface SignpostLinkProp {
/**
* The number that represents the local area - based on the list of all local areas in alphabetical order
*/
sovereignCode: number;
/**
* The name of the local area
*/
areaName: string;
/**
* An optional override for the call to action text
*/
cta_text?: string;
/**
* URL of this service on the local area's website
*/
url: string;
}