@gdjiami/jm-mrc-components
Version:
移动端可复用组件库
19 lines (18 loc) • 419 B
TypeScript
/**
* 日历事件类型,不同的事件在日历上会有不同的展示方式
*/
export declare enum CalendarEventType {
LegalHoliday = 0,
Normal = 1
}
export interface CalendarEvent {
id: string;
type?: CalendarEventType;
color?: string;
content: string;
start: Date;
end: Date;
}
export declare type CalendarEventList = {
[key: string]: CalendarEvent[];
};