amis-rpc-design/node_modules/rc-picker/lib/panels/DatePanel/index.d.ts

13 lines
553 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;