UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

40 lines (38 loc) 1.74 kB
/** * Copyright IBM Corp. 2016, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ const require_chunk = require('./chunk-CsKB0u1v.js'); const require_Icon_js = require('./Icon.js'); const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js'); let react = require("react"); react = require_chunk.__toESM(react); let react_jsx_runtime = require("react/jsx-runtime"); //#region virtual:MagicWand.js const MagicWand = react.default.forwardRef(function MagicWand({ children, size = 16, ...rest }, ref) { return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M29.4141,24,12,6.5859a2.0476,2.0476,0,0,0-2.8281,0l-2.586,2.586a2.0021,2.0021,0,0,0,0,2.8281L23.999,29.4141a2.0024,2.0024,0,0,0,2.8281,0l2.587-2.5865a1.9993,1.9993,0,0,0,0-2.8281ZM8,10.5859,10.5859,8l5,5-2.5866,2.5869-5-5ZM25.4131,28l-11-10.999L17,14.4141l11,11Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2.586 14.586H5.414V17.414H2.586z", transform: "rotate(-45 4 16)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14.586 2.586H17.414V5.414H14.586z", transform: "rotate(-45 16 4)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2.586 2.586H5.414V5.414H2.586z", transform: "rotate(-45 4 4)" }), children); }); if (process.env.NODE_ENV !== "production") MagicWand.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = MagicWand;