@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
53 lines (46 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 iconPropTypes = require('./iconPropTypes-b192e04d.js');
require('@carbon/icon-helpers');
require('prop-types');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var _circle, _circle2, _path;
const IbmDb2 = /*#__PURE__*/React__default["default"].forwardRef(function IbmDb2(_ref, ref) {
let {
children,
size = 16,
...rest
} = _ref;
return /*#__PURE__*/React__default["default"].createElement(iconPropTypes.Icon, {
width: size,
height: size,
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, _circle || (_circle = /*#__PURE__*/React__default["default"].createElement("circle", {
cx: "23",
cy: "26",
r: "1"
})), _circle2 || (_circle2 = /*#__PURE__*/React__default["default"].createElement("circle", {
cx: "9",
cy: "6",
r: "1"
})), _path || (_path = /*#__PURE__*/React__default["default"].createElement("path", {
d: "M12,17h8c2.2056,0,4-1.7944,4-4v-3h2c1.1028,0,2-.8975,2-2V4c0-1.1025-.8972-2-2-2H6c-1.1028,0-2,.8975-2,2v4c0,1.1025,.8972,2,2,2H22v3c0,1.1025-.8972,2-2,2H12c-2.2056,0-4,1.7944-4,4v3h-2c-1.1028,0-2,.8975-2,2v4c0,1.1025,.8972,2,2,2H26c1.1028,0,2-.8975,2-2v-4c0-1.1025-.8972-2-2-2H10v-3c0-1.1025,.8972-2,2-2ZM6,4H26v4H6V4ZM26,28H6v-4H26v4Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
IbmDb2.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = IbmDb2;