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 +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +2 -2
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
|
});
|