amis-rpc-design/node_modules/rc-picker/lib/panels/YearPanel/YearHeader.d.ts

14 lines
463 B
TypeScript
Raw Normal View History

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