import React from 'react'; import { TextInputProps } from '@sinoui/core/TextInput'; import type { PopperProps } from '@sinoui/core/Popper'; import type { ModalProps } from '@sinoui/core/Modal'; export interface Props extends Omit { /** * 值 */ value?: string[]; /** * 值变更时的回调函数 */ onChange?: (value: string[]) => void; /** * 指定自定义的值渲染函数。默认情况下,直接显示`value`属性值。 */ renderValue?: (value?: Date) => React.ReactNode; /** * 是否是pc设备 */ isPc?: boolean; /** * 最小值 */ min?: string; /** * 最大值 */ max?: string; /** * 是否使用potal模式 */ portal?: boolean; /** * 给pc弹窗设置属性。 */ popperProps?: PopperProps; /** * 给移动端弹窗设置属性 */ modalProps?: ModalProps; /** * 默认年份 */ defaultYear?: number; /** * 默认月份 */ defaultMonth?: number; /** * 弹窗标题 */ modalTitle?: string; /** * 开始输入框的标签内容 */ startInputLabel?: string; /** * 结束输入框的标签内容 */ endInputLabel?: string; /** * 开始输入框的提示说明 */ startInputPlaceholder?: string; /** * 结束输入框的提示说明 */ endInputPlaceholder?: string; /** * 设置输入框之间的连接元素,默认为~ */ toTitle?: React.ReactNode; startOfWeek?: 0 | 1; } /** * 日期区间选择组件 * @param props */ export default function DateRangePicker(props: Props): JSX.Element;