@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
44 lines (42 loc) • 1.67 kB
JavaScript
/**
* 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:Ai.js
let didWarnAboutDeprecation = false;
const Ai = react.default.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.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", {
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__ */ (0, react_jsx_runtime.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 = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = Ai;