vue3-year-calendar
Version:
A customizable year calendar component for Vue 3 applications
46 lines (45 loc) • 1.31 kB
TypeScript
interface ActiveDate {
date: string;
className?: string;
}
interface Props {
activeDates?: (string | ActiveDate)[];
month?: string | number;
year?: string | number;
lang?: string;
activeClass?: string;
prefixClass?: string;
darkmode?: boolean;
}
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
toggleDate: (value: {
date: string;
selected: boolean;
className: string;
}) => any;
overDay: (value: {
date: string;
selected: boolean;
className: string;
}) => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onToggleDate?: ((value: {
date: string;
selected: boolean;
className: string;
}) => any) | undefined;
onOverDay?: ((value: {
date: string;
selected: boolean;
className: string;
}) => any) | undefined;
}>, {
activeDates: (string | ActiveDate)[];
month: string | number;
year: string | number;
lang: string;
activeClass: string;
prefixClass: string;
darkmode: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;