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) • 526 B
TypeScript
export interface EventDetailsProps {
/**
* Event date and time in a format JavaScript can parse
*/
startTime: string;
/**
* Optional end date and time in a format JavaScript can parse
*/
endTime?: string;
/**
* Event location
*/
location: string;
/**
* Should the event details have a border, defaults to true
*/
hasBorder?: boolean;
/**
* Should the event details have top and bottom margin. Defaults to true
*/
hasMargin?: boolean;
}