amis-rpc-design/node_modules/rc-picker/es/panels/DecadePanel/DecadeHeader.d.ts

12 lines
409 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;
generateConfig: GenerateConfig<DateType>;
onPrevDecades: () => void;
onNextDecades: () => void;
};
declare function DecadeHeader<DateType>(props: YearHeaderProps<DateType>): React.JSX.Element;
export default DecadeHeader;