ant-design/components/date-picker/generatePicker/constant.ts

6 lines
351 B
TypeScript
Raw Normal View History

2024-07-16 10:06:43 +08:00
export const [WEEK, WEEKPICKER] = ['week', 'WeekPicker'] as const;
export const [MONTH, MONTHPICKER] = ['month', 'MonthPicker'] as const;
export const [YEAR, YEARPICKER] = ['year', 'YearPicker'] as const;
export const [QUARTER, QUARTERPICKER] = ['quarter', 'QuarterPicker'] as const;
export const [TIME, TIMEPICKER] = ['time', 'TimePicker'] as const;