import React from 'react'; interface Props { /** * 开始时间 */ startDate?: Date; /** * 结束时间 */ endDate?: Date; /** * 聚焦的输入框 */ focusedInput?: 'start' | 'end'; /** * 年份 */ year: number; /** * 月份 */ month: number; /** * 设置为`true`,则显示今日状态。默认为`true`。 */ showToday?: boolean; /** * 指定最小日期。 */ minDate?: Date; /** * 指定最大日期。 */ maxDate?: Date; /** * 日期单元格点击事件的回调函数。 */ onDateClick?: (event: React.MouseEvent, date: Date) => void; startOfWeek?: 0 | 1; } /** * 日期区间视图内容 * */ export default function DateRangeViewContent({ focusedInput, startDate, endDate, year, month, showToday, minDate, maxDate, onDateClick, startOfWeek, ...rest }: Props): JSX.Element; export {};