@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
36 lines (34 loc) • 1.9 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 Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:MachineLearning.js
let didWarnAboutDeprecation = false;
const MachineLearning = React.forwardRef(function MachineLearning({ 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 machine-learning-model instead. As a result, the MachineLearning 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", { d: "M16,25a6.9908,6.9908,0,0,1-5.833-3.1287l1.666-1.1074a5.0007,5.0007,0,0,0,8.334,0l1.666,1.1074A6.9908,6.9908,0,0,1,16,25Z" }), /* @__PURE__ */ jsx("path", { d: "M20,14a2,2,0,1,0,2,2A1.9806,1.9806,0,0,0,20,14Z" }), /* @__PURE__ */ jsx("path", { d: "M12,14a2,2,0,1,0,2,2A1.9806,1.9806,0,0,0,12,14Z" }), /* @__PURE__ */ jsx("path", { d: "M30,16V14H28V10a4.0045,4.0045,0,0,0-4-4H22V2H20V6H12V2H10V6H8a4.0045,4.0045,0,0,0-4,4v4H2v2H4v5H2v2H4v3a4.0045,4.0045,0,0,0,4,4H24a4.0045,4.0045,0,0,0,4-4V23h2V21H28V16ZM26,26a2.0023,2.0023,0,0,1-2,2H8a2.0023,2.0023,0,0,1-2-2V10A2.0023,2.0023,0,0,1,8,8H24a2.0023,2.0023,0,0,1,2,2Z" }), children);
});
if (process.env.NODE_ENV !== "production") MachineLearning.propTypes = iconPropTypes;
//#endregion
export { MachineLearning as default };