@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
54 lines (50 loc) • 1.62 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.
*/
'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 Anchor = /*#__PURE__*/React.forwardRef(function Anchor({
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", {
strokeWidth: "0",
d: "M2.257 25.5H8.742V27.5H2.257z",
transform: "rotate(-45 5.5 26.5)"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
strokeWidth: "0",
d: "M9.257 18.5H15.742V20.5H9.257z",
transform: "rotate(-45 12.5 19.5)"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
strokeWidth: "0",
d: "M16.257 11.5H22.742V13.5H16.257z",
transform: "rotate(-45 19.5 12.5)"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("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.iconPropTypes;
}
module.exports = Anchor;