UNPKG

@carbon/icons-react

Version:

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

61 lines (57 loc) 2.2 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. */ 'use strict'; 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, _circle, _circle2, _circle3, _path2; 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_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: "M28 2H18c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h2.4l1.7 3 1.7-1-2.3-4H18V4h10v6h-3v2h3c1.1 0 2-.9 2-2V4C30 2.9 29.1 2 28 2zM14.7 31L13 30l3.5-6H22c1.1 0 2-.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" })), _path2 || (_path2 = /*#__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.iconPropTypes; } module.exports = IbmWatsonAssistant;