aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Panel.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/Panel.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/Panel.jsx')
-rw-r--r--src/Panel.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Panel.jsx b/src/Panel.jsx
index d02bd01..df128ff 100644
--- a/src/Panel.jsx
+++ b/src/Panel.jsx
@@ -37,7 +37,7 @@ const Panel = React.createClass({
37 showMinute: PropTypes.bool, 37 showMinute: PropTypes.bool,
38 showSecond: PropTypes.bool, 38 showSecond: PropTypes.bool,
39 onClear: PropTypes.func, 39 onClear: PropTypes.func,
40 show12Hours: PropTypes.bool, 40 use12Hours: PropTypes.bool,
41 addon: PropTypes.func, 41 addon: PropTypes.func,
42 }, 42 },
43 43
@@ -50,7 +50,7 @@ const Panel = React.createClass({
50 disabledMinutes: noop, 50 disabledMinutes: noop,
51 disabledSeconds: noop, 51 disabledSeconds: noop,
52 defaultOpenValue: moment(), 52 defaultOpenValue: moment(),
53 show12Hours: false, 53 use12Hours: false,
54 addon: noop, 54 addon: noop,
55 }; 55 };
56 }, 56 },
@@ -92,7 +92,7 @@ const Panel = React.createClass({
92 const { 92 const {
93 prefixCls, className, placeholder, disabledHours, disabledMinutes, 93 prefixCls, className, placeholder, disabledHours, disabledMinutes,
94 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond, 94 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond,
95 format, defaultOpenValue, clearText, onEsc, addon, show12Hours, 95 format, defaultOpenValue, clearText, onEsc, addon, use12Hours,
96 } = this.props; 96 } = this.props;
97 const { 97 const {
98 value, currentSelectPanel, 98 value, currentSelectPanel,
@@ -142,7 +142,7 @@ const Panel = React.createClass({
142 disabledMinutes={disabledMinutes} 142 disabledMinutes={disabledMinutes}
143 disabledSeconds={disabledSeconds} 143 disabledSeconds={disabledSeconds}
144 onCurrentSelectPanelChange={this.onCurrentSelectPanelChange} 144 onCurrentSelectPanelChange={this.onCurrentSelectPanelChange}
145 show12Hours={show12Hours} 145 use12Hours={use12Hours}
146 /> 146 />
147 {addon(this)} 147 {addon(this)}
148 </div> 148 </div>