press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
14 lines (13 loc) • 597 B
TypeScript
type IDate = string | number | Date;
declare function getMark(date: IDate): number;
declare function getDayStyle(type: string,
index: null, date: IDate, rowHeight: string | number, color: string, firstDayOfWeek: number): string;
declare function formatMonthTitle(date: IDate): string;
declare function getMonthStyle(visible: boolean, date: IDate, rowHeight: number): string | undefined;
declare const innerDefault: {
getMark: typeof getMark;
getDayStyle: typeof getDayStyle;
formatMonthTitle: typeof formatMonthTitle;
getMonthStyle: typeof getMonthStyle;
};
export default innerDefault;