import React from "react"; import { ScheduleItem } from "../type"; import { FormState } from "../model"; import "./index.less"; declare type SchedulesPropsType = { /** all 以列表形式展示所有日程 forADay 展示日程及时间段 */ type: "all" | "forADay"; detail: { id?: number; show: boolean; type?: "standard" | "time-slots" | "designation"; }; onClose?: (data?: ScheduleItem) => void; onDelete?: (detail: ScheduleItem) => void; onOpenDetail?: (id?: number) => void; onCalendarDataChange?: (value?: any) => void; dataSource: ScheduleItem[]; loading?: boolean; currentSelectDayDetail: FormState["currentSelectDayDetail"]; onCloseDay: () => void; schedulesForDaySlot?: React.ReactNode; scheduleMap: Record; }; /** * 日程tab项 * @param props * @constructor */ declare const Schedules: (props: SchedulesPropsType) => React.JSX.Element; export default Schedules;