UNPKG

mealcomes

Version:

MealComes 用于学习前端的组件库

20 lines (19 loc) 650 B
import { ExtractPropTypes, PropType } from 'vue'; export type CalendarDateType = 'prev-month' | 'next-month' | 'prev-year' | 'next-year' | 'today'; export declare const calendarProps: { readonly modelValue: { readonly type: DateConstructor; }; readonly range: { readonly type: PropType<[Date, Date]>; }; readonly mini: { readonly type: BooleanConstructor; readonly default: true; }; }; export type CalendarProps = ExtractPropTypes<typeof calendarProps>; export declare const calendarEmits: { 'update:modelValue': (val: Date) => boolean; }; export type CalendarEmits = typeof calendarEmits;