aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2016-11-11 12:19:38 +0800
committerafc163 <afc163@gmail.com>2016-11-11 12:19:38 +0800
commit3b3350d5d710a7caf14926dfcce3684d3df3aff8 (patch)
treecce3217088ada26630481b674088370146cb398c /src
parent614f6c90232d890984d0f4f2f13ff41fdb144b27 (diff)
downloadtime-picker-3b3350d5d710a7caf14926dfcce3684d3df3aff8.tar.gz
time-picker-3b3350d5d710a7caf14926dfcce3684d3df3aff8.tar.zst
time-picker-3b3350d5d710a7caf14926dfcce3684d3df3aff8.zip
update props order
Diffstat (limited to 'src')
-rw-r--r--src/TimePicker.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx
index 358b596..99d1008 100644
--- a/src/TimePicker.jsx
+++ b/src/TimePicker.jsx
@@ -29,9 +29,9 @@ const Picker = React.createClass({
29 placeholder: PropTypes.string, 29 placeholder: PropTypes.string,
30 format: PropTypes.string, 30 format: PropTypes.string,
31 showHour: PropTypes.bool, 31 showHour: PropTypes.bool,
32 showSecond: PropTypes.bool,
32 style: PropTypes.object, 33 style: PropTypes.object,
33 className: PropTypes.string, 34 className: PropTypes.string,
34 showSecond: PropTypes.bool,
35 disabledHours: PropTypes.func, 35 disabledHours: PropTypes.func,
36 disabledMinutes: PropTypes.func, 36 disabledMinutes: PropTypes.func,
37 disabledSeconds: PropTypes.func, 37 disabledSeconds: PropTypes.func,
@@ -151,8 +151,8 @@ const Picker = React.createClass({
151 onClear={this.onPanelClear} 151 onClear={this.onPanelClear}
152 defaultOpenValue={defaultOpenValue} 152 defaultOpenValue={defaultOpenValue}
153 showHour={showHour} 153 showHour={showHour}
154 onEsc={this.onEsc}
155 showSecond={showSecond} 154 showSecond={showSecond}
155 onEsc={this.onEsc}
156 allowEmpty={allowEmpty} 156 allowEmpty={allowEmpty}
157 format={this.getFormat()} 157 format={this.getFormat()}
158 placeholder={placeholder} 158 placeholder={placeholder}