amis-rpc-design/node_modules/rc-picker/lib/panels/QuarterPanel/QuarterBody.d.ts
2023-10-07 19:42:30 +08:00

17 lines
627 B
TypeScript

import * as React from 'react';
import type { GenerateConfig } from '../../generate';
import type { CellRender, Locale } from '../../interface';
export declare const QUARTER_COL_COUNT = 4;
export type QuarterBodyProps<DateType> = {
prefixCls: string;
locale: Locale;
generateConfig: GenerateConfig<DateType>;
value?: DateType | null;
viewDate: DateType;
disabledDate?: (date: DateType) => boolean;
onSelect: (value: DateType) => void;
cellRender?: CellRender<DateType>;
};
declare function QuarterBody<DateType>(props: QuarterBodyProps<DateType>): React.JSX.Element;
export default QuarterBody;