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

12 lines
409 B
TypeScript

import * as React from 'react';
import type { GenerateConfig } from '../../generate';
export type YearHeaderProps<DateType> = {
prefixCls: string;
viewDate: DateType;
generateConfig: GenerateConfig<DateType>;
onPrevDecades: () => void;
onNextDecades: () => void;
};
declare function DecadeHeader<DateType>(props: YearHeaderProps<DateType>): React.JSX.Element;
export default DecadeHeader;