@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
45 lines (43 loc) • 1.36 kB
JavaScript
/**
* 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.
*/
import Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:Anchor.js
const Anchor = React.forwardRef(function Anchor({ children, size = 16, ...rest }, ref) {
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("path", {
strokeWidth: "0",
d: "M2.257 25.5H8.742V27.5H2.257z",
transform: "rotate(-45 5.5 26.5)"
}), /* @__PURE__ */ jsx("path", {
strokeWidth: "0",
d: "M9.257 18.5H15.742V20.5H9.257z",
transform: "rotate(-45 12.5 19.5)"
}), /* @__PURE__ */ jsx("path", {
strokeWidth: "0",
d: "M16.257 11.5H22.742V13.5H16.257z",
transform: "rotate(-45 19.5 12.5)"
}), /* @__PURE__ */ 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 = iconPropTypes;
//#endregion
export { Anchor as default };