From dd275f7df354e218d170ddbcc1eadff1427db76b Mon Sep 17 00:00:00 2001
From: Antony Shaleynikov <shaleynikov@gmail.com>
Date: Thu, 2 Mar 2017 11:02:45 +0300
Subject: show12Hours prop was renamed to use12Hours

---
 src/Panel.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/Panel.jsx')

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({
     showMinute: PropTypes.bool,
     showSecond: PropTypes.bool,
     onClear: PropTypes.func,
-    show12Hours: PropTypes.bool,
+    use12Hours: PropTypes.bool,
     addon: PropTypes.func,
   },
 
@@ -50,7 +50,7 @@ const Panel = React.createClass({
       disabledMinutes: noop,
       disabledSeconds: noop,
       defaultOpenValue: moment(),
-      show12Hours: false,
+      use12Hours: false,
       addon: noop,
     };
   },
@@ -92,7 +92,7 @@ const Panel = React.createClass({
     const {
       prefixCls, className, placeholder, disabledHours, disabledMinutes,
       disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond,
-      format, defaultOpenValue, clearText, onEsc, addon, show12Hours,
+      format, defaultOpenValue, clearText, onEsc, addon, use12Hours,
     } = this.props;
     const {
       value, currentSelectPanel,
@@ -142,7 +142,7 @@ const Panel = React.createClass({
           disabledMinutes={disabledMinutes}
           disabledSeconds={disabledSeconds}
           onCurrentSelectPanelChange={this.onCurrentSelectPanelChange}
-          show12Hours={show12Hours}
+          use12Hours={use12Hours}
         />
         {addon(this)}
       </div>
-- 
cgit v1.2.3

