aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/TimePicker.jsx
diff options
context:
space:
mode:
authorAntony Shaleynikov <shaleynikov@gmail.com>2017-03-02 11:02:45 +0300
committerAntony Shaleynikov <shaleynikov@gmail.com>2017-03-02 11:02:45 +0300
commitdd275f7df354e218d170ddbcc1eadff1427db76b (patch)
tree0dc5b9efdd7def8be8ab857ae9c75c0bf302e2cd /src/TimePicker.jsx
parentf8e59df8666ee32ae769f35cd01b4de4d4e4bed1 (diff)
downloadtime-picker-dd275f7df354e218d170ddbcc1eadff1427db76b.tar.gz
time-picker-dd275f7df354e218d170ddbcc1eadff1427db76b.tar.zst
time-picker-dd275f7df354e218d170ddbcc1eadff1427db76b.zip
show12Hours prop was renamed to use12Hours
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 );