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

5 lines
494 B
TypeScript

import type { PickerPanelProps } from '../PickerPanel';
import type { RangePickerProps } from '../RangePicker';
export type UseCellRenderOption<DateType> = Pick<PickerPanelProps<DateType>, 'cellRender' | 'monthCellRender' | 'dateRender'> | Pick<RangePickerProps<DateType>, 'cellRender' | 'monthCellRender' | 'dateRender'>;
export declare function useCellRender<DateType>({ cellRender, monthCellRender, dateRender, }: UseCellRenderOption<DateType>): import("../interface").CellRender<DateType>;