@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (36 loc) • 2.16 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:MachineLearning.js
let didWarnAboutDeprecation = false;
const MachineLearning = react.default.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.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", { 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__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20,14a2,2,0,1,0,2,2A1.9806,1.9806,0,0,0,20,14Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12,14a2,2,0,1,0,2,2A1.9806,1.9806,0,0,0,12,14Z" }), /* @__PURE__ */ (0, react_jsx_runtime.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 = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = MachineLearning;