import type { RangePickerProps } from 'antd/es/date-picker'; import dayjs from 'dayjs'; import React from 'react'; import type { ProFormOtherType } from '../../../propsType'; import { Props as RangeProps } from './useDateRange'; export type Props = { otherProps?: ProFormOtherType; separator?: any; showTime?: any; isView?: boolean; range?: RangeProps['range']; /** 预设日期范围快捷选项 */ presets?: Array<{ label: React.ReactNode; value: [dayjs.Dayjs, dayjs.Dayjs] | (() => [dayjs.Dayjs, dayjs.Dayjs]); }>; } & Omit & Omit; declare const RangePicker: React.FC; export default RangePicker;