@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
50 lines (46 loc) • 1.88 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 Shapes = /*#__PURE__*/React.forwardRef(function Shapes({
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: "m5,16h-2v11c0,1.1045.8954,2,2,2h8v-2H5v-11Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
strokeWidth: "0",
d: "m28,29h-11c-.3535,0-.6809-.1866-.8608-.4911-.0927-.1568-.1392-.3328-.1392-.5089,0-.1658.0412-.3317.1238-.4819l5.5-10c.1898-.3451.5333-.5178.8762-.5181.3434-.0003.6861.1724.8762.5181l5.5,10c.0826.1502.1238.3162.1238.4819,0,.1762-.0465.3521-.1392.5089-.1799.3044-.5073.4911-.8608.4911Zm-9.3088-2h7.6177l-3.8088-6.9249-3.8088,6.9249Z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
strokeWidth: "0",
d: "m27,3h-11v2h11v13.9922h2V5c0-1.1045-.8954-2-2-2Z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
strokeWidth: "0",
d: "m11,3h-6c-1.1046,0-2,.8955-2,2v6c0,1.1045.8954,2,2,2h6c1.1046,0,2-.8955,2-2v-6c0-1.1045-.8954-2-2-2Zm0,8h-6v-6h6v6Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Shapes.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Shapes;