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

14 lines
463 B
TypeScript

import * as React from 'react';
import type { GenerateConfig } from '../../generate';
export type YearHeaderProps<DateType> = {
prefixCls: string;
viewDate: DateType;
value?: DateType | null;
generateConfig: GenerateConfig<DateType>;
onPrevDecade: () => void;
onNextDecade: () => void;
onDecadeClick: () => void;
};
declare function YearHeader<DateType>(props: YearHeaderProps<DateType>): React.JSX.Element;
export default YearHeader;