@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
36 lines (34 loc) • 1.73 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 Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:IbmWatsonKnowledgeCatalog.js
let didWarnAboutDeprecation = false;
const IbmWatsonKnowledgeCatalog = React.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.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("path", { d: "M23 27.2 20.4 24.6 19 26 23 30 30 23 28.6 21.6z" }), /* @__PURE__ */ jsx("path", { d: "M12 18H20V20H12z" }), /* @__PURE__ */ jsx("path", { d: "M12 13H20V15H12z" }), /* @__PURE__ */ jsx("path", { d: "M12 8H20V10H12z" }), /* @__PURE__ */ 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 = iconPropTypes;
//#endregion
export { IbmWatsonKnowledgeCatalog as default };