parent
6fad9ead9e
commit
eea3fe9015
|
@ -156,7 +156,7 @@ function rangePickerProps<DateType>() {
|
||||||
type: Array as unknown as PropType<[DateType, DateType] | [string, string]>,
|
type: Array as unknown as PropType<[DateType, DateType] | [string, string]>,
|
||||||
},
|
},
|
||||||
defaultValue: { type: Array as unknown as PropType<[DateType, DateType] | [string, string]> },
|
defaultValue: { type: Array as unknown as PropType<[DateType, DateType] | [string, string]> },
|
||||||
value: { type: Array as unknown as PropType<[DateType, DateType]> },
|
value: { type: Array as unknown as PropType<[DateType, DateType] | [string, string]> },
|
||||||
disabledTime: {
|
disabledTime: {
|
||||||
type: Function as PropType<(date: EventValue<DateType>, type: RangeType) => DisabledTimes>,
|
type: Function as PropType<(date: EventValue<DateType>, type: RangeType) => DisabledTimes>,
|
||||||
},
|
},
|
||||||
|
@ -182,7 +182,7 @@ export interface RangePickerProps<DateType> {
|
||||||
dateRender?: RangeDateRender<DateType>;
|
dateRender?: RangeDateRender<DateType>;
|
||||||
defaultPickerValue?: [DateType, DateType] | [string, string];
|
defaultPickerValue?: [DateType, DateType] | [string, string];
|
||||||
defaultValue?: [DateType, DateType] | [string, string];
|
defaultValue?: [DateType, DateType] | [string, string];
|
||||||
value?: [DateType, DateType];
|
value?: [DateType, DateType] | [string, string];
|
||||||
disabledTime?: (date: EventValue<DateType>, type: RangeType) => DisabledTimes;
|
disabledTime?: (date: EventValue<DateType>, type: RangeType) => DisabledTimes;
|
||||||
disabled?: [boolean, boolean];
|
disabled?: [boolean, boolean];
|
||||||
format?: string;
|
format?: string;
|
||||||
|
|
Loading…
Reference in New Issue