From: afc163 Date: Fri, 11 Nov 2016 04:19:38 +0000 (+0800) Subject: update props order X-Git-Tag: 2.2.0~1^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3b3350d5d710a7caf14926dfcce3684d3df3aff8;p=github%2Ffretlink%2Ftime-picker.git update props order --- 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({ placeholder: PropTypes.string, format: PropTypes.string, showHour: PropTypes.bool, + showSecond: PropTypes.bool, style: PropTypes.object, className: PropTypes.string, - showSecond: PropTypes.bool, disabledHours: PropTypes.func, disabledMinutes: PropTypes.func, disabledSeconds: PropTypes.func, @@ -151,8 +151,8 @@ const Picker = React.createClass({ onClear={this.onPanelClear} defaultOpenValue={defaultOpenValue} showHour={showHour} - onEsc={this.onEsc} showSecond={showSecond} + onEsc={this.onEsc} allowEmpty={allowEmpty} format={this.getFormat()} placeholder={placeholder}