diff options
Diffstat (limited to 'src/TimePicker.jsx')
-rw-r--r-- | src/TimePicker.jsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index fb855e2..ad4e834 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -34,9 +34,9 @@ const Picker = React.createClass({ | |||
34 | style: PropTypes.object, | 34 | style: PropTypes.object, |
35 | className: PropTypes.string, | 35 | className: PropTypes.string, |
36 | showSecond: PropTypes.bool, | 36 | showSecond: PropTypes.bool, |
37 | disabledHours: PropTypes.array, | 37 | disabledHours: PropTypes.func, |
38 | disabledMinutes: PropTypes.array, | 38 | disabledMinutes: PropTypes.func, |
39 | disabledSeconds: PropTypes.array, | 39 | disabledSeconds: PropTypes.func, |
40 | hideDisabledOptions: PropTypes.bool, | 40 | hideDisabledOptions: PropTypes.bool, |
41 | onChange: PropTypes.func, | 41 | onChange: PropTypes.func, |
42 | onOpen: PropTypes.func, | 42 | onOpen: PropTypes.func, |
@@ -55,9 +55,9 @@ const Picker = React.createClass({ | |||
55 | allowEmpty: true, | 55 | allowEmpty: true, |
56 | showHour: true, | 56 | showHour: true, |
57 | showSecond: true, | 57 | showSecond: true, |
58 | disabledHours: null, | 58 | disabledHours: noop, |
59 | disabledMinutes: null, | 59 | disabledMinutes: noop, |
60 | disabledSeconds: null, | 60 | disabledSeconds: noop, |
61 | hideDisabledOptions: false, | 61 | hideDisabledOptions: false, |
62 | placement: 'bottomLeft', | 62 | placement: 'bottomLeft', |
63 | onChange: noop, | 63 | onChange: noop, |