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.
@@ -1484,6 +1484,7 @@ var TextArea = function TextArea(props) {
1484
1484
  var DropDown = function DropDown(props) {
1485
1485
  var site = useContext(SiteContext);
1486
1486
  var id = props.id,
1487
+ icon = props.icon,
1487
1488
  _props$options = props.options,
1488
1489
  options = _props$options === void 0 ? [] : _props$options,
1489
1490
  value = props.value,
@@ -1578,7 +1579,10 @@ var DropDown = function DropDown(props) {
1578
1579
  onClick: function onClick() {
1579
1580
  return select(option.value);
1580
1581
  }
1581
- }, /*#__PURE__*/React.createElement(Text, null, option.label));
1582
+ }, icon ? /*#__PURE__*/React.createElement(Icon, {
1583
+ icon: icon,
1584
+ size: "small"
1585
+ }) : '', /*#__PURE__*/React.createElement(Text, null, option.label));
1582
1586
  });
1583
1587
  return /*#__PURE__*/React.createElement("menu", null, /*#__PURE__*/React.createElement("ul", null, lis));
1584
1588
  } else {