@shoplflow/base 0.24.0 → 0.24.1
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 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1873,12 +1873,8 @@ exports.StyledIcon = styled6__default.default.svg`
|
|
|
1873
1873
|
}
|
|
1874
1874
|
`;
|
|
1875
1875
|
var Icon = React3.forwardRef((_a, ref) => {
|
|
1876
|
-
var _b = _a, { iconSource
|
|
1877
|
-
|
|
1878
|
-
if (htmlContent && iconSource) {
|
|
1879
|
-
throw new Error("Icon: iconSource\uC640 dangerouslySetInnerHTML\uC740 \uB3D9\uC2DC\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");
|
|
1880
|
-
}
|
|
1881
|
-
return /* @__PURE__ */ jsxRuntime.jsx(exports.StyledIcon, __spreadProps(__spreadValues({ as: iconSource, ref }, rest), { "data-shoplflow": "Icon", dangerouslySetInnerHTML: htmlContent }));
|
|
1876
|
+
var _b = _a, { iconSource } = _b, rest = __objRest(_b, ["iconSource"]);
|
|
1877
|
+
return /* @__PURE__ */ jsxRuntime.jsx(exports.StyledIcon, __spreadProps(__spreadValues({ as: iconSource, ref }, rest), { "data-shoplflow": "Icon" }));
|
|
1882
1878
|
});
|
|
1883
1879
|
exports.Icon = Icon;
|
|
1884
1880
|
var DropdownButton = React3.forwardRef(
|