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

11 lines
445 B
TypeScript

import * as React from 'react';
import type { PanelSharedProps, PanelMode, CellRender } from '../../interface';
import { YEAR_DECADE_COUNT } from './constant';
export type YearPanelProps<DateType> = {
sourceMode: PanelMode;
cellRender?: CellRender<DateType>;
} & PanelSharedProps<DateType>;
export { YEAR_DECADE_COUNT };
declare function YearPanel<DateType>(props: YearPanelProps<DateType>): React.JSX.Element;
export default YearPanel;