UNPKG

@carbon/icons-react

Version:

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

47 lines (45 loc) 1.62 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:Anchor.js const Anchor = react.default.forwardRef(function Anchor({ 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", { strokeWidth: "0", d: "M2.257 25.5H8.742V27.5H2.257z", transform: "rotate(-45 5.5 26.5)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { strokeWidth: "0", d: "M9.257 18.5H15.742V20.5H9.257z", transform: "rotate(-45 12.5 19.5)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { strokeWidth: "0", d: "M16.257 11.5H22.742V13.5H16.257z", transform: "rotate(-45 19.5 12.5)" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { strokeWidth: "0", d: "M23.257 4.5H29.742V6.5H23.257z", transform: "rotate(-45 26.5 5.5)" }), children); }); if (process.env.NODE_ENV !== "production") Anchor.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = Anchor;