diff options
Diffstat (limited to 'src/TimePicker.jsx')
-rw-r--r-- | src/TimePicker.jsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index 2c6a1f1..85dc3e2 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -46,6 +46,9 @@ export default class Picker extends Component { | |||
46 | name: PropTypes.string, | 46 | name: PropTypes.string, |
47 | autoComplete: PropTypes.string, | 47 | autoComplete: PropTypes.string, |
48 | use12Hours: PropTypes.bool, | 48 | use12Hours: PropTypes.bool, |
49 | hourStep: PropTypes.number, | ||
50 | minuteStep: PropTypes.number, | ||
51 | secondStep: PropTypes.number, | ||
49 | }; | 52 | }; |
50 | 53 | ||
51 | static defaultProps = { | 54 | static defaultProps = { |
@@ -157,7 +160,7 @@ export default class Picker extends Component { | |||
157 | prefixCls, placeholder, disabledHours, | 160 | prefixCls, placeholder, disabledHours, |
158 | disabledMinutes, disabledSeconds, hideDisabledOptions, | 161 | disabledMinutes, disabledSeconds, hideDisabledOptions, |
159 | allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText, | 162 | allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText, |
160 | addon, use12Hours, | 163 | addon, use12Hours, hourStep, minuteStep, secondStep, |
161 | } = this.props; | 164 | } = this.props; |
162 | return ( | 165 | return ( |
163 | <Panel | 166 | <Panel |
@@ -180,6 +183,9 @@ export default class Picker extends Component { | |||
180 | disabledSeconds={disabledSeconds} | 183 | disabledSeconds={disabledSeconds} |
181 | hideDisabledOptions={hideDisabledOptions} | 184 | hideDisabledOptions={hideDisabledOptions} |
182 | use12Hours={use12Hours} | 185 | use12Hours={use12Hours} |
186 | hourStep={hourStep} | ||
187 | minuteStep={minuteStep} | ||
188 | secondStep={secondStep} | ||
183 | addon={addon} | 189 | addon={addon} |
184 | /> | 190 | /> |
185 | ); | 191 | ); |