comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
33 lines (31 loc) • 1.03 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ComicSize } from '../../../utils';
import { Schedules } from './type';
export declare const calendarProps: {
readonly modelValue: DateConstructor;
readonly size: PropType<ComicSize>;
readonly showWeek: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showHeader: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showDay: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly openSchedule: BooleanConstructor;
readonly schedules: {
readonly type: PropType<Schedules>;
};
readonly cardWidth: NumberConstructor;
readonly format: StringConstructor;
};
export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
export declare const calendarEmits: {
'update:modelValue': (date: Date) => boolean;
change: (date: Date) => boolean;
};
export type CalendarEmits = typeof calendarEmits;