UNPKG

@spaced-out/ui-design-system

Version:
18 lines (16 loc) 459 B
// @flow strict export type TimeUnit = 'years' | 'months' | 'days' | 'd' | 'M' | 'y'; export type DateRange = {startDate?: ?string, endDate?: ?string}; export type DateRangePickerErrorTypes = { [key: string]: {type: string, description: string}, }; export type DateRangePickerError = { type: string, description: string, }; export type DateRangeWithTimezone = { ...DateRange, startDateUTC?: ?string, endDateUTC?: ?string, timezone?: string, };