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.
19 lines (18 loc) • 395 B
TypeScript
export interface DisplayDateProps {
/**
* The text in the hint
*/
text: string;
/**
* The format for the date - default it timestamp
*/
format: string;
/**
* Text before the date (no spaces included on render in case you need a colon: before the date)
*/
preText?: string;
/**
* Text after the date
*/
postText?: string;
}