@nnc-digital/nnc-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.
35 lines (34 loc) • 592 B
TypeScript
export interface SectionLinksSidebarProps {
/**
* Title
*/
Title: string;
/**
* An array of sections
*/
Sections: Array<SectionsProps>;
}
export interface SectionsProps {
/**
* The optional section title
*/
SectionTitle?: string;
/**
* The array of section links
*/
SectionLinks: Array<LinksProp>;
}
export interface LinksProp {
/**
* Title of the page
*/
title: string;
/**
* URL of the page
*/
url: string;
/**
* Is this the current page
*/
isCurrent?: boolean;
}