import * as React from 'react'; interface DateTimeProps { /**是否可编辑 */ editable?: boolean; /**输入框内容 */ value?: Array; /**输入框内容变化时的回调 */ onChange?: Function; /**最小值 */ min?: number; /**最大值 */ max?: number; /**是否显示时分秒 */ showTime?: boolean; /**日期格式 */ dateFormat?: string; /**时间格式 */ timeFormat?: string; /**值的数据类型,timestamp为时间戳,string为格式化字符串 */ valueType?: 'timestamp' | 'string'; } interface DateTimeState {} declare class DateTime extends React.Component { state: DateTimeState; componentDidMount(): void; componentDidUpdate(prevProps: DateTimeProps): void; componentWillUnmount(): void; render: () => React.ReactElement; } export default DateTime;