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.
23 lines (22 loc) • 391 B
TypeScript
export interface HeadingWithIconProps {
/**
* What level of heading is this?
*/
level?: number;
/**
* The text of the title
*/
text: string;
/**
* The icon
*/
icon: string;
/**
* Should there be a hover effect on the icon
*/
hasHover?: boolean;
/**
* The optional subheading
*/
subHeading?: string;
}