You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InternshipProject/node_modules/rc-picker/es/panels/TimePanel/TimeBody.d.ts

19 lines
708 B

import * as React from 'react';
import type { GenerateConfig } from '../../generate';
import type { Locale, OnSelect } from '../../interface';
import type { SharedTimeProps } from '.';
export declare type BodyOperationRef = {
onUpDown: (diff: number) => void;
};
export declare type TimeBodyProps<DateType> = {
prefixCls: string;
locale: Locale;
generateConfig: GenerateConfig<DateType>;
value?: DateType | null;
onSelect: OnSelect<DateType>;
activeColumnIndex: number;
operationRef: React.MutableRefObject<BodyOperationRef | undefined>;
} & SharedTimeProps<DateType>;
declare function TimeBody<DateType>(props: TimeBodyProps<DateType>): JSX.Element;
export default TimeBody;