@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
40 lines (36 loc) • 1.25 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 Function_2 = /*#__PURE__*/React.forwardRef(function Function_2({
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: "M12.3,13l-1.3,13.2c-.1.9926-.9,1.8-1.9,1.8h-5.1v-2h5l1.3-13h-4.3v-2h4.5l.5-5.2c.0916-1.0019,1-1.8,2-1.8h5v2h-5l-.5,5h4.5v2h-4.7ZM16,19v7c0,1.1.9,2,2,2h2v-2h-2v-7h2v-2h-2c-1.1,0-2,.9-2,2ZM26,17h-2v2h2v7h-2v2h2c1.1,0,2-.9,2-2v-7c0-1.1-.9-2-2-2Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Function_2.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Function_2;