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