@saas-ui/date-picker
Version:
Chakra UI - Date Picker Component
10 lines (6 loc) • 332 B
text/typescript
import { RangeValue } from '@react-types/shared'
import { DateValue, TimeValue } from '@react-types/datepicker'
export type { DateValue, TimeValue }
export type FormattedValue = DateValue | Date | string | number
export type DateRangeValue = RangeValue<DateValue | null>
export type TimeRangeValue = RangeValue<TimeValue | null>