rc-cascader
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -112,2 +112,3 @@ 'use strict'; | ||
var menus = _react2['default'].createElement('div', null); | ||
var emptyMenuClassName = ''; | ||
if (props.options && props.options.length > 0) { | ||
@@ -118,2 +119,4 @@ menus = _react2['default'].createElement(_Menus2['default'], _extends({}, props, { | ||
visible: this.state.popupVisible })); | ||
} else { | ||
emptyMenuClassName = ' ' + prefixCls + '-menus-empty'; | ||
} | ||
@@ -130,3 +133,3 @@ return _react2['default'].createElement( | ||
prefixCls: prefixCls + '-menus', | ||
popupClassName: popupClassName, | ||
popupClassName: popupClassName + emptyMenuClassName, | ||
popup: menus }, | ||
@@ -133,0 +136,0 @@ props.children |
{ | ||
"name": "rc-cascader", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "cascade select ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29329
599