@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
12 lines (10 loc) • 511 B
TypeScript
import { DatePickerProps } from 'element-plus';
import { Mutable } from 'element-plus/es/utils';
export interface TDatePickerSelfProps {
modelValue: string | Date | Array<string | Date> | undefined;
plusTime?: boolean;
type?: "date" | "week" | "month" | "year" | "dates" | "months" | "years" | "daterange" | "monthrange" | "datetime" | "datetimerange";
shortcuts?: any[];
isPickerOptions?: boolean;
}
export type TDatePickerProps = TDatePickerSelfProps & Partial<Mutable<DatePickerProps>>;