@spaced-out/ui-design-system
Version:
Sense UI components library
18 lines (16 loc) • 459 B
Flow
// @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,
};