UNPKG

@carbon/icons-react

Version:

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

51 lines (48 loc) 2.12 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 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, _path2, _path3, _path4; let didWarnAboutDeprecation = false; const MachineLearning = /*#__PURE__*/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 /*#__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", { 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" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M20,14a2,2,0,1,0,2,2A1.9806,1.9806,0,0,0,20,14Z" })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", { d: "M12,14a2,2,0,1,0,2,2A1.9806,1.9806,0,0,0,12,14Z" })), _path4 || (_path4 = /*#__PURE__*/React.createElement("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; } export { MachineLearning as default };