ywana-core8 0.0.748 → 0.0.749

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,6 +1492,7 @@ 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,
1495
1496
  _props$options = props.options,
1496
1497
  options = _props$options === void 0 ? [] : _props$options,
1497
1498
  value = props.value,
@@ -1586,7 +1587,10 @@ var DropDown = function DropDown(props) {
1586
1587
  onClick: function onClick() {
1587
1588
  return select(option.value);
1588
1589
  }
1589
- }, /*#__PURE__*/React__default["default"].createElement(Text, null, option.label));
1590
+ }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1591
+ icon: icon,
1592
+ size: "small"
1593
+ }) : '', /*#__PURE__*/React__default["default"].createElement(Text, null, option.label));
1590
1594
  });
1591
1595
  return /*#__PURE__*/React__default["default"].createElement("menu", null, /*#__PURE__*/React__default["default"].createElement("ul", null, lis));
1592
1596
  } else {