@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
40 lines (36 loc) • 1.31 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.
*/
;
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;
const ZHyperLink = /*#__PURE__*/React.forwardRef(function ZHyperLink({
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,5v22c0,1.1-.9,2-2,2h-8c-1.1,0-2-.9-2-2v-4h2v4h8V5h-8v4h-2v-4c0-1.1.9-2,2-2h8c1.1,0,2,.9,2,2ZM13,27H5V5h8v4h2v-4c0-1.1-.9-2-2-2H5c-1.1,0-2,.9-2,2v22c0,1.1.9,2,2,2h8c1.1,0,2-.9,2-2v-4h-2v4ZM13.1,12.7l-1.4-1.4-4.7,4.7,4.7,4.7,1.4-1.4-2.3-2.3h10.4l-2.3,2.3,1.4,1.4,4.7-4.7-4.7-4.7-1.4,1.4,2.3,2.3h-10.4l2.3-2.3Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
ZHyperLink.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = ZHyperLink;