UNPKG

@carbon/icons-react

Version:

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

61 lines (58 loc) 2.26 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. */ 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, _circle, _circle2, _circle3, _path3; let didWarnAboutDeprecation = false; const IbmWatsonAssistant = /*#__PURE__*/React.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 /*#__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: "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" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("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" })), _circle || (_circle = /*#__PURE__*/React.createElement("circle", { cx: "10", cy: "17", r: "1" })), _circle2 || (_circle2 = /*#__PURE__*/React.createElement("circle", { cx: "14", cy: "17", r: "1" })), _circle3 || (_circle3 = /*#__PURE__*/React.createElement("circle", { cx: "18", cy: "17", r: "1" })), _path3 || (_path3 = /*#__PURE__*/React.createElement("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 = iconPropTypes; } export { IbmWatsonAssistant as default };