继承
TimeSpinner
用法
<Label htmlFor="t1" align="top">开始:</Label>
<DateTimeSpinner
inputId="t1"
value={time1}
onChange={(value) => this.setState({ time1: value })}
/>
属性
名称 | 类型 | 描述 | 默认 |
---|---|---|---|
value | string | 字段值。 | null |
min | string | 最少允许时间。 | null |
max | string | 最大允许时间。 | null |
increment | number | 单击微调按钮时增加值。 | 1 |
highlight | number | 初始化突出显示的字段,0 =月,1 =日,2 =年, | 0 |
format | string | 日期格式。 | MM/dd/yyyy HH:mm |