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

13 lines
553 B
TypeScript

import * as React from 'react';
import type { CellRender, PanelSharedProps } from '../../interface';
import type { KeyboardConfig } from '../../utils/uiUtil';
import type { DateBodyPassProps } from './DateBody';
export type DatePanelProps<DateType> = {
active?: boolean;
cellRender?: CellRender<DateType>;
panelName?: string;
keyboardConfig?: KeyboardConfig;
} & PanelSharedProps<DateType> & DateBodyPassProps<DateType>;
declare function DatePanel<DateType>(props: DatePanelProps<DateType>): React.JSX.Element;
export default DatePanel;