@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (36 loc) • 1.87 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.
*/
const require_chunk = require('./chunk-CsKB0u1v.js');
const require_Icon_js = require('./Icon.js');
const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js');
let react = require("react");
react = require_chunk.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:DatabaseEnterpriseDb2.js
let didWarnAboutDeprecation = false;
const DatabaseEnterpriseDb2 = react.default.forwardRef(function DatabaseEnterpriseDb2({ children, size = 16, ...rest }, ref) {
if (process.env.NODE_ENV !== "production") {
if (!didWarnAboutDeprecation) {
didWarnAboutDeprecation = true;
console.warn("Icon name was requested by the product team to be renamed to and replaced by database--enterprisedb. As a result, the DatabaseEnterpriseDb2 component will be removed in the next major version of @carbon/icons-react.");
}
}
return react.default.createElement(require_Icon_js, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M17.84,24V11.9966H20.783v2h.1149a3.3115,3.3115,0,0,1,3.3572-2.2764c2.46,0,3.84,1.7017,3.84,4.6909V24H25.1519V16.7107c0-1.7017-.5748-2.5754-1.9776-2.5754-1.2187,0-2.3913.6438-2.3913,1.9314V24Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4.2236,24V7.95H14.8015v2.69H7.259v3.8862h6.6687v2.6905H7.259V21.31h7.5425V24Z" }), children);
});
if (process.env.NODE_ENV !== "production") DatabaseEnterpriseDb2.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = DatabaseEnterpriseDb2;