@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
48 lines (44 loc) • 1.85 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, _path2, _path3, _path4, _path5;
const TextLink = /*#__PURE__*/React.forwardRef(function TextLink({
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: "M18.7061,27.585a5.2615,5.2615,0,0,1-3.7227-8.9834l1.415,1.414a3.2638,3.2638,0,1,0,4.6153,4.6162l6.03-6.03a3.264,3.264,0,0,0-4.6162-4.6158l-1.414-1.414a5.2637,5.2637,0,0,1,7.4443,7.4438l-6.03,6.03A5.2461,5.2461,0,0,1,18.7061,27.585Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M10.2642,29.9971A5.2619,5.2619,0,0,1,6.542,21.0137l6.03-6.03a5.2636,5.2636,0,1,1,7.4438,7.4438l-1.414-1.414a3.2639,3.2639,0,1,0-4.6158-4.6158l-6.03,6.03a3.264,3.264,0,0,0,4.6157,4.6162l1.414,1.4141A5.2452,5.2452,0,0,1,10.2642,29.9971Z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M2 10H10V12H2z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M2 6H14V8H2z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M2 2H14V4H2z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
TextLink.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = TextLink;