date-picker.ts 370 B

1234567891011121314151617181920
  1. import { Dayjs } from 'dayjs';
  2. export type DateCellType =
  3. | 'normal'
  4. | 'today'
  5. | 'week'
  6. | 'next-month'
  7. | 'prev-month';
  8. export interface DateCell {
  9. text?: number;
  10. disabled?: boolean;
  11. isSelected?: boolean;
  12. isSelectedStart?: boolean;
  13. isSelectedEnd?: boolean;
  14. isInRange?: boolean;
  15. isCurrent?: boolean;
  16. date: typeof Dayjs;
  17. type?: DateCellType;
  18. }