UNPKG

@carbon/icons-react

Version:

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

48 lines (44 loc) 1.51 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; let didWarnAboutDeprecation = false; const Ai = /*#__PURE__*/React.forwardRef(function Ai({ children, size = 16, ...rest }, ref) { if (process.env.NODE_ENV !== "production") { if (!didWarnAboutDeprecation) { didWarnAboutDeprecation = true; console.warn("Icon should not be used. Teams should use the Carbon AILabel component.. As a result, the Ai 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", { strokeWidth: "0", d: "M17 11L20 11 20 21 17 21 17 23 25 23 25 21 22 21 22 11 25 11 25 9 17 9 17 11zM13 9h-4c-1.103 0-2 .897-2 2v12h2v-5h4v5h2v-12c0-1.103-.897-2-2-2zm-4 7v-5h4v5h-4z" })), children); }); if (process.env.NODE_ENV !== "production") { Ai.propTypes = iconPropTypes.iconPropTypes; } module.exports = Ai;