import React, { CSSProperties, ReactNode } from 'react'; import { Dayjs } from 'dayjs'; export interface DateInputProps { style?: CSSProperties; className?: string | string[]; error?: boolean; status?: 'warning' | 'error'; disabled?: boolean; placeholder?: string; value?: Dayjs; inputValue?: string; popupVisible?: boolean; format?: string | ((value: Dayjs) => string); prefixCls?: string; size?: 'small' | 'middle' | 'large'; allowClear?: boolean; onClear?: (e: any) => void; editable?: boolean; onPressEnter?: () => void; onChange?: (e: any) => void; suffixIcon?: ReactNode; isPlaceholder?: boolean; prefix?: ReactNode; inputProps?: React.InputHTMLAttributes; /** * 静态模式 */ quickStatic?: boolean; /** * 快速编辑(默认无边框) */ quickEdit?: boolean; } declare type DateInputHandle = { focus: () => void; blur: () => void; }; declare const _default: React.ForwardRefExoticComponent>; export default _default;