@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
47 lines (44 loc) • 1.78 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.
*/
import React from 'react';
import Icon from './Icon.js';
import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js';
import '@carbon/icon-helpers';
import 'prop-types';
var _path, _path2;
let didWarnAboutDeprecation = false;
const DatabaseEnterpriseDb2 = /*#__PURE__*/React.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 /*#__PURE__*/React.createElement(Icon, {
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: "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"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M4.2236,24V7.95H14.8015v2.69H7.259v3.8862h6.6687v2.6905H7.259V21.31h7.5425V24Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
DatabaseEnterpriseDb2.propTypes = iconPropTypes;
}
export { DatabaseEnterpriseDb2 as default };