UNPKG

@carbon/icons-react

Version:

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

42 lines (40 loc) 1.45 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 Icon from "./Icon.js"; import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js"; import React from "react"; import { jsx } from "react/jsx-runtime"; //#region virtual:Ai.js let didWarnAboutDeprecation = false; const Ai = 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 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", { strokeWidth: "0", d: "M17 11 20 11 20 21 17 21 17 23 25 23 25 21 22 21 22 11 25 11 25 9 17 9 17 11z" }), /* @__PURE__ */ jsx("path", { strokeWidth: "0", d: "m13,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; //#endregion export { Ai as default };