UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

50 lines (48 loc) 2.23 kB
/** * 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:IbmWatsonAssistant.js let didWarnAboutDeprecation = false; const IbmWatsonAssistant = react.default.forwardRef(function IbmWatsonAssistant({ children, size = 16, ...rest }, ref) { if (process.env.NODE_ENV !== "production") { if (!didWarnAboutDeprecation) { didWarnAboutDeprecation = true; console.warn("Icon renamed and replaced by ibm-watsonx--assistant to correspond with the new watsonx platform and product suite. As a result, the IbmWatsonAssistant 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: "M28,2H18c-1.1,0-2,0.9-2,2v6c0,1.1,0.9,2,2,2h2.4l1.7,3l1.7-1l-2.3-4H18V4h10v6h-3v2h3c1.1,0,2-0.9,2-2V4 C30,2.9,29.1,2,28,2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14.7,31L13,30l3.5-6H22c1.1,0,2-0.9,2-2v-5h2v5c0,2.2-1.8,4-4,4h-4.4L14.7,31z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", { cx: "10", cy: "17", r: "1" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", { cx: "14", cy: "17", r: "1" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", { cx: "18", cy: "17", r: "1" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12,26H6c-2.2,0-4-1.8-4-4V12c0-2.2,1.8-4,4-4h8v2H6c-1.1,0-2,0.9-2,2v10c0,1.1,0.9,2,2,2h6V26z" }), children); }); if (process.env.NODE_ENV !== "production") IbmWatsonAssistant.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = IbmWatsonAssistant;