You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
946 B

import * as React from 'react';
export interface PanelBodyProps<DateType> {
prefixCls: string;
disabledDate?: (date: DateType) => boolean;
onSelect: (value: DateType) => void;
headerCells?: React.ReactNode;
rowNum: number;
colNum: number;
baseDate: DateType;
getCellClassName: (date: DateType) => Record<string, boolean | undefined>;
getCellDate: (date: DateType, offset: number) => DateType;
getCellText: (date: DateType) => React.ReactNode;
getCellNode?: (date: DateType) => React.ReactNode;
titleCell?: (date: DateType) => string;
prefixColumn?: (date: DateType) => React.ReactNode;
rowClassName?: (date: DateType) => string;
}
export default function PanelBody<DateType>({ prefixCls, disabledDate, onSelect, rowNum, colNum, prefixColumn, rowClassName, baseDate, getCellClassName, getCellText, getCellNode, getCellDate, titleCell, headerCells, }: PanelBodyProps<DateType>): JSX.Element;