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/TimePicker.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/TimePicker.jsx')

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({
     addon: PropTypes.func,
     name: PropTypes.string,
     autoComplete: PropTypes.string,
-    show12Hours: PropTypes.bool,
+    use12Hours: PropTypes.bool,
   },
 
   getDefaultProps() {
@@ -68,7 +68,7 @@ const Picker = React.createClass({
       onOpen: noop,
       onClose: noop,
       addon: noop,
-      show12Hours: false,
+      use12Hours: false,
     };
   },
 
@@ -144,7 +144,7 @@ const Picker = React.createClass({
       prefixCls, placeholder, disabledHours,
       disabledMinutes, disabledSeconds, hideDisabledOptions,
       allowEmpty, showHour, showMinute, showSecond, defaultOpenValue, clearText,
-      addon, show12Hours,
+      addon, use12Hours,
     } = this.props;
     return (
       <Panel
@@ -166,7 +166,7 @@ const Picker = React.createClass({
         disabledMinutes={disabledMinutes}
         disabledSeconds={disabledSeconds}
         hideDisabledOptions={hideDisabledOptions}
-        show12Hours={show12Hours}
+        use12Hours={use12Hours}
         addon={addon}
       />
     );
-- 
cgit v1.2.3

