/** * @file 时间范围选择器 (不含日期) */ import { TimeRangePickerProps } from 'antd'; import React, { FC } from 'react'; import { Moment } from '@/moment'; import './styles.less'; export interface TimePickerRangeProps { /** * 是否启用秒数的选择, 默认禁用 */ enableSeconds?: boolean; /** * 禁用 */ disabled?: boolean; /** * 分钟选项间隔 */ minuteStep?: number; /** * 默认值 */ defaultValue?: [Moment | null, Moment | null]; /** * 大小 */ size?: 'middle' | 'small'; /** * 是否显示清除按钮 */ allowClear?: boolean; /** * 浮层渲染父节点,默认渲染到 body 上 */ getPopupContainer?: TimeRangePickerProps['getPopupContainer']; /** * 设置 value 后变为受控模式 */ value?: [Moment | null, Moment | null]; /** * 是否有边框 */ bordered?: TimeRangePickerProps['bordered']; /** * 自定义的选择框后缀图标 */ suffixIcon?: TimeRangePickerProps['suffixIcon']; /** * 样式 */ style?: React.CSSProperties; className?: string; /** * 时间发生变化的回调 */ onChange?: (date: [Moment | null, Moment | null] | null) => void; } export declare const TimePickerRange: FC;