@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (36 loc) • 2.02 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:IbmWatsonKnowledgeCatalog.js
let didWarnAboutDeprecation = false;
const IbmWatsonKnowledgeCatalog = react.default.forwardRef(function IbmWatsonKnowledgeCatalog({ children, size = 16, ...rest }, ref) {
if (process.env.NODE_ENV !== "production") {
if (!didWarnAboutDeprecation) {
didWarnAboutDeprecation = true;
console.warn("Icon renamed, slightly redesigned and replaced by ibm--knowledge-catalog. As a result, the IbmWatsonKnowledgeCatalog 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: "M23 27.2 20.4 24.6 19 26 23 30 30 23 28.6 21.6z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 18H20V20H12z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 13H20V15H12z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 8H20V10H12z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16,28H6v-4h2v-2H6v-5h2v-2H6v-5h2V8H6V4h18v16h2V4c0-1.1-0.9-2-2-2H6C4.9,2,4,2.9,4,4v4H2v2h2v5H2v2h2v5H2v2h2v4 c0,1.1,0.9,2,2,2h10V28z" }), children);
});
if (process.env.NODE_ENV !== "production") IbmWatsonKnowledgeCatalog.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = IbmWatsonKnowledgeCatalog;