ywana-core8 0.0.749 → 0.0.750

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1486,7 +1486,6 @@
1486
1486
  var DropDown = function DropDown(props) {
1487
1487
  var site = React.useContext(SiteContext);
1488
1488
  var id = props.id,
1489
- icon = props.icon,
1490
1489
  _props$options = props.options,
1491
1490
  options = _props$options === void 0 ? [] : _props$options,
1492
1491
  value = props.value,
@@ -1581,8 +1580,8 @@
1581
1580
  onClick: function onClick() {
1582
1581
  return select(option.value);
1583
1582
  }
1584
- }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1585
- icon: icon,
1583
+ }, option.icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1584
+ icon: option.icon,
1586
1585
  size: "small"
1587
1586
  }) : '', /*#__PURE__*/React__default["default"].createElement(Text, null, option.label));
1588
1587
  });