15 lines
547 B
TypeScript
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;
|