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.cjs CHANGED
@@ -1492,7 +1492,6 @@ var TextArea = function TextArea(props) {
1492
1492
  var DropDown = function DropDown(props) {
1493
1493
  var site = React.useContext(SiteContext);
1494
1494
  var id = props.id,
1495
- icon = props.icon,
1496
1495
  _props$options = props.options,
1497
1496
  options = _props$options === void 0 ? [] : _props$options,
1498
1497
  value = props.value,
@@ -1587,8 +1586,8 @@ var DropDown = function DropDown(props) {
1587
1586
  onClick: function onClick() {
1588
1587
  return select(option.value);
1589
1588
  }
1590
- }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1591
- icon: icon,
1589
+ }, option.icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1590
+ icon: option.icon,
1592
1591
  size: "small"
1593
1592
  }) : '', /*#__PURE__*/React__default["default"].createElement(Text, null, option.label));
1594
1593
  });