@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
46 lines (43 loc) • 1.48 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.
*/
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;
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, {
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;
}
export { Ai as default };