aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/TimePicker.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TimePicker.jsx')
-rw-r--r--src/TimePicker.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx
index f73d2b1..6b76223 100644
--- a/src/TimePicker.jsx
+++ b/src/TimePicker.jsx
@@ -43,7 +43,7 @@ const Picker = React.createClass({
43 addon: PropTypes.func, 43 addon: PropTypes.func,
44 name: PropTypes.string, 44 name: PropTypes.string,
45 autoComplete: PropTypes.string, 45 autoComplete: PropTypes.string,
46 show12Hours: PropTypes.bool, 46 use12Hours: PropTypes.bool,
47 }, 47 },
48 48
49 getDefaultProps() { 49 getDefaultProps() {
@@ -68,7 +68,7 @@ const Picker = React.createClass({
68 onOpen: noop, 68 onOpen: noop,
69 onClose: noop, 69 onClose: noop,
70 addon: noop, 70 addon: noop,
71 show12Hours: false, 71 use12Hours: false,
72 }; 72 };
73 }, 73 },
74 74
@@ -144,7 +144,7 @@ const Picker = React.createClass({
144 prefixCls, placeholder, disabledHours, 144 prefixCls, placeholder, disabledHours,
145 disabledMinutes, disabledSeconds, hideDisabledOptions, 145 disabledMinutes, disabledSeconds, hideDisabledOptions,
146 allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText, 146 allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText,
147 addon, show12Hours, 147 addon, use12Hours,
148 } = this.props; 148 } = this.props;
149 return ( 149 return (
150 <Panel 150 <Panel
@@ -166,7 +166,7 @@ const Picker = React.createClass({
166 disabledMinutes={disabledMinutes} 166 disabledMinutes={disabledMinutes}
167 disabledSeconds={disabledSeconds} 167 disabledSeconds={disabledSeconds}
168 hideDisabledOptions={hideDisabledOptions} 168 hideDisabledOptions={hideDisabledOptions}
169 show12Hours={show12Hours} 169 use12Hours={use12Hours}
170 addon={addon} 170 addon={addon}
171 /> 171 />
172 ); 172 );