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 70327d7..c7ff80a 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -48,6 +48,9 @@ export default class Picker extends Component { | |||
48 | name: PropTypes.string, | 48 | name: PropTypes.string, |
49 | autoComplete: PropTypes.string, | 49 | autoComplete: PropTypes.string, |
50 | use12Hours: PropTypes.bool, | 50 | use12Hours: PropTypes.bool, |
51 | hourStep: PropTypes.number, | ||
52 | minuteStep: PropTypes.number, | ||
53 | secondStep: PropTypes.number, | ||
51 | focusOnOpen: PropTypes.bool, | 54 | focusOnOpen: PropTypes.bool, |
52 | onKeyDown: PropTypes.func, | 55 | onKeyDown: PropTypes.func, |
53 | }; | 56 | }; |
@@ -165,7 +168,7 @@ export default class Picker extends Component { | |||
165 | prefixCls, placeholder, disabledHours, | 168 | prefixCls, placeholder, disabledHours, |
166 | disabledMinutes, disabledSeconds, hideDisabledOptions, | 169 | disabledMinutes, disabledSeconds, hideDisabledOptions, |
167 | allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText, | 170 | allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText, |
168 | addon, use12Hours, focusOnOpen, onKeyDown, | 171 | addon, use12Hours, focusOnOpen, onKeyDown, hourStep, minuteStep, secondStep, |
169 | } = this.props; | 172 | } = this.props; |
170 | return ( | 173 | return ( |
171 | <Panel | 174 | <Panel |
@@ -188,6 +191,9 @@ export default class Picker extends Component { | |||
188 | disabledSeconds={disabledSeconds} | 191 | disabledSeconds={disabledSeconds} |
189 | hideDisabledOptions={hideDisabledOptions} | 192 | hideDisabledOptions={hideDisabledOptions} |
190 | use12Hours={use12Hours} | 193 | use12Hours={use12Hours} |
194 | hourStep={hourStep} | ||
195 | minuteStep={minuteStep} | ||
196 | secondStep={secondStep} | ||
191 | addon={addon} | 197 | addon={addon} |
192 | focusOnOpen={focusOnOpen} | 198 | focusOnOpen={focusOnOpen} |
193 | onKeyDown={onKeyDown} | 199 | onKeyDown={onKeyDown} |