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.modern.js
CHANGED
@@ -1484,7 +1484,6 @@ 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,
|
1488
1487
|
_props$options = props.options,
|
1489
1488
|
options = _props$options === void 0 ? [] : _props$options,
|
1490
1489
|
value = props.value,
|
@@ -1579,8 +1578,8 @@ var DropDown = function DropDown(props) {
|
|
1579
1578
|
onClick: function onClick() {
|
1580
1579
|
return select(option.value);
|
1581
1580
|
}
|
1582
|
-
}, icon ? /*#__PURE__*/React.createElement(Icon, {
|
1583
|
-
icon: icon,
|
1581
|
+
}, option.icon ? /*#__PURE__*/React.createElement(Icon, {
|
1582
|
+
icon: option.icon,
|
1584
1583
|
size: "small"
|
1585
1584
|
}) : '', /*#__PURE__*/React.createElement(Text, null, option.label));
|
1586
1585
|
});
|