@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
49 lines (45 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.
*/
;
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;
let didWarnAboutDeprecation = false;
const DatabaseRedis = /*#__PURE__*/React.forwardRef(function DatabaseRedis({
children,
size = 16,
...rest
}, ref) {
if (process.env.NODE_ENV !== "production") {
if (!didWarnAboutDeprecation) {
didWarnAboutDeprecation = true;
console.warn("Icon no longer relevant. IBM Cloud Databases for Redis UI icon is retired. New icon with new name was requested. As a result, the DatabaseRedis component will be removed in the next major version of @carbon/icons-react.");
}
}
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: "M25.7156,22h-.115a3.371,3.371,0,0,1-3.3113,2.2764c-3.0124,0-4.6912-2.2764-4.6912-6.3006,0-4.0012,1.6788-6.2546,4.6912-6.2546a3.3049,3.3049,0,0,1,3.3113,2.2534h.115v-6.99h2.9433V24H25.7156Zm0-2.1157V16.0667c0-1.1727-1.0808-1.9314-2.4837-1.9314A2.556,2.556,0,0,0,20.68,16.9636v2.07a2.5365,2.5365,0,0,0,2.5522,2.8052C24.6348,21.8384,25.7156,21.1257,25.7156,19.8838Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M6.5576,24H3.5222V7.95h7.2434c2.92,0,4.7371,1.9316,4.7371,4.967a4.4237,4.4237,0,0,1-2.9893,4.553L15.8018,24h-3.38L9.4321,17.8145H6.5576Zm3.9092-8.738a1.6888,1.6888,0,0,0,1.8855-1.8167V12.3875a1.6722,1.6722,0,0,0-1.8855-1.7935H6.5576v4.668Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
DatabaseRedis.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = DatabaseRedis;