QuarterBody.d.ts 641 B

123456789101112131415161718
  1. import type { GenerateConfig } from '../../generate';
  2. import type { Locale } from '../../interface';
  3. export declare const QUARTER_COL_COUNT = 4;
  4. export declare type QuarterBodyProps<DateType> = {
  5. prefixCls: string;
  6. locale: Locale;
  7. generateConfig: GenerateConfig<DateType>;
  8. value?: DateType | null;
  9. viewDate: DateType;
  10. disabledDate?: (date: DateType) => boolean;
  11. onSelect: (value: DateType) => void;
  12. };
  13. declare function QuarterBody<DateType>(_props: QuarterBodyProps<DateType>): JSX.Element;
  14. declare namespace QuarterBody {
  15. var displayName: string;
  16. var inheritAttrs: boolean;
  17. }
  18. export default QuarterBody;