@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
60 lines (56 loc) • 2.12 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, _path5, _path6, _path7, _path8, _path9, _path0, _path1;
const Calculator = /*#__PURE__*/React.forwardRef(function Calculator({
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: "M26,4V28H6V4H26m0-2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V4A2,2,0,0,0,26,2Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M9 23H11V25H9z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M21 23H23V25H21z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M9 18H11V20H9z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M21 18H23V20H21z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M9 13H11V15H9z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M15 23H17V25H15z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M15 18H17V20H15z"
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
d: "M15 13H17V15H15z"
})), _path0 || (_path0 = /*#__PURE__*/React.createElement("path", {
d: "M21 13H23V15H21z"
})), _path1 || (_path1 = /*#__PURE__*/React.createElement("path", {
d: "M9 7H23V10H9z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Calculator.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Calculator;