UNPKG

@carbon/icons-react

Version:

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

49 lines (45 loc) 1.73 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. */ 'use strict'; var React = require('react'); var Icon_js = require('./Icon.js'); var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js'); require('@carbon/icon-helpers'); require('prop-types'); var _path, _path2, _path3, _path4; const MagicWand = /*#__PURE__*/React.forwardRef(function MagicWand({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon_js, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, _path || (_path = /*#__PURE__*/React.createElement("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" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M2.586 14.586H5.414V17.414H2.586z", transform: "rotate(-45 4 16)" })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", { d: "M14.586 2.586H17.414V5.414H14.586z", transform: "rotate(-45 16 4)" })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", { d: "M2.586 2.586H5.414V5.414H2.586z", transform: "rotate(-45 4 4)" })), children); }); if (process.env.NODE_ENV !== "production") { MagicWand.propTypes = iconPropTypes.iconPropTypes; } module.exports = MagicWand;