@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
55 lines (52 loc) • 2.43 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, _path2, _path3, _path4, _path5, _path6;
let didWarnAboutDeprecation = false;
const WatsonMachineLearning = /*#__PURE__*/React.forwardRef(function WatsonMachineLearning({
children,
size = 16,
...rest
}, ref) {
if (process.env.NODE_ENV !== "production") {
if (!didWarnAboutDeprecation) {
didWarnAboutDeprecation = true;
console.warn("Icon design is defunct, replaced with the existing icon ibm-watson--machine-learning. As a result, the WatsonMachineLearning 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: "M22,26H20V17.76l-3.23,3.88a1,1,0,0,1-1.54,0L12,17.76V26H10V15a1,1,0,0,1,.66-.94,1,1,0,0,1,1.11.3L16,19.44l4.23-5.08a1,1,0,0,1,1.11-.3A1,1,0,0,1,22,15Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M4.16,14.65l-3-1.75a.76.76,0,1,0-.76,1.32L3.4,16a.76.76,0,1,0,.76-1.31Z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M8.29,10.52a.73.73,0,0,0,1,.27.75.75,0,0,0,.28-1l-1.74-3a.76.76,0,1,0-1.32.76Z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M16,9a.76.76,0,0,0,.76-.76V4.76a.76.76,0,1,0-1.52,0V8.25A.76.76,0,0,0,16,9Z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M22.68,10.79a.75.75,0,0,0,.37.11.76.76,0,0,0,.66-.38l1.75-3a.76.76,0,0,0-1.32-.76l-1.74,3A.75.75,0,0,0,22.68,10.79Z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M31.9,13.18a.76.76,0,0,0-1-.28l-3,1.75A.76.76,0,0,0,28.6,16l3-1.74A.77.77,0,0,0,31.9,13.18Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
WatsonMachineLearning.propTypes = iconPropTypes;
}
export { WatsonMachineLearning as default };