mealcomes
Version:
MealComes 用于学习前端的组件库
17 lines (16 loc) • 565 B
TypeScript
import { ExtractPropTypes } from 'vue';
export type CalendarDateType = 'prev-month' | 'next-month' | 'prev-year' | 'next-year' | 'today';
export declare const calendarProps: {
readonly modelValue: {
readonly type: DateConstructor;
};
readonly mini: {
readonly type: BooleanConstructor;
readonly default: false;
};
};
export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
export declare const calendarEmits: {
'update:modelValue': (val: Date) => boolean;
};
export type CalendarEmits = typeof calendarEmits;