import * as React from 'react'; interface WeekProps { /**是否可编辑 */ editable?: boolean; /**输入框内容 */ value?: number | string; /**输入框内容变化时的回调 */ onChange?: Function; /**格式 */ format?: string; /**值的数据类型,timestamp为时间戳,string为格式化字符串 */ valueType?: 'timestamp' | 'string'; } interface WeekState {} declare class Week extends React.Component { state: WeekState; componentDidMount(): void; componentDidUpdate(prevProps: WeekProps): void; componentWillUnmount(): void; render: () => React.ReactElement; } export default Week;