diff options
Diffstat (limited to 'examples/common.js')
-rw-r--r-- | examples/common.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/common.js b/examples/common.js index ac8765b..46dc3bc 100644 --- a/examples/common.js +++ b/examples/common.js | |||
@@ -25716,13 +25716,14 @@ | |||
25716 | showSecond = _props5.showSecond, | 25716 | showSecond = _props5.showSecond, |
25717 | getPopupContainer = _props5.getPopupContainer, | 25717 | getPopupContainer = _props5.getPopupContainer, |
25718 | name = _props5.name, | 25718 | name = _props5.name, |
25719 | autoComplete = _props5.autoComplete; | 25719 | autoComplete = _props5.autoComplete, |
25720 | use12Hours = _props5.use12Hours; | ||
25720 | var _state = this.state, | 25721 | var _state = this.state, |
25721 | open = _state.open, | 25722 | open = _state.open, |
25722 | value = _state.value; | 25723 | value = _state.value; |
25723 | 25724 | ||
25724 | var popupClassName = void 0; | 25725 | var popupClassName = void 0; |
25725 | if (!showHour || !showMinute || !showSecond) { | 25726 | if ((!showHour || !showMinute || !showSecond) && !use12Hours) { |
25726 | popupClassName = prefixCls + '-panel-narrow'; | 25727 | popupClassName = prefixCls + '-panel-narrow'; |
25727 | } | 25728 | } |
25728 | return _react2.default.createElement( | 25729 | return _react2.default.createElement( |