消息
This commit is contained in:
19
TUIKit/components/common/DatePicker/date-picker.ts
Normal file
19
TUIKit/components/common/DatePicker/date-picker.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Dayjs } from 'dayjs';
|
||||
|
||||
export type DateCellType =
|
||||
| 'normal'
|
||||
| 'today'
|
||||
| 'week'
|
||||
| 'next-month'
|
||||
| 'prev-month';
|
||||
export interface DateCell {
|
||||
text?: number;
|
||||
disabled?: boolean;
|
||||
isSelected?: boolean;
|
||||
isSelectedStart?: boolean;
|
||||
isSelectedEnd?: boolean;
|
||||
isInRange?: boolean;
|
||||
isCurrent?: boolean;
|
||||
date: typeof Dayjs;
|
||||
type?: DateCellType;
|
||||
}
|
||||
Reference in New Issue
Block a user