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

15 lines
547 B
TypeScript

import * as React from 'react';
import type { Components, Locale, RangeList } from '../interface';
export type RangesProps = {
prefixCls: string;
rangeList?: RangeList;
components?: Components;
needConfirmButton: boolean;
onNow?: null | (() => void) | false;
onOk?: null | (() => void) | false;
okDisabled?: boolean;
showNow?: boolean;
locale: Locale;
};
export default function getRanges({ prefixCls, components, needConfirmButton, onNow, onOk, okDisabled, showNow, locale, }: RangesProps): React.JSX.Element;