@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
61 lines (57 loc) • 2.3 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.
*/
'use strict';
var React = require('react');
var Icon_js = require('./Icon.js');
var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js');
require('@carbon/icon-helpers');
require('prop-types');
var _path, _path2, _path3, _path4, _path5, _path6;
const Incomplete = /*#__PURE__*/React.forwardRef(function Incomplete({
children,
size = 16,
...rest
}, ref) {
if (size === "glyph" || size === "glyph" || size === "glyphpx") {
return /*#__PURE__*/React.createElement(Icon_js, {
width: size,
height: size,
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 16 16",
fill: "currentColor",
...rest
}, _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M8,2a6,6,0,1,0,6,6A6,6,0,0,0,8,2ZM8,4a4.0045,4.0045,0,0,1,4,4H4A4.0045,4.0045,0,0,1,8,4Z"
})), children);
}
return /*#__PURE__*/React.createElement(Icon_js, {
width: size,
height: size,
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M23.7642,6.8593l1.2851-1.5315A13.976,13.976,0,0,0,20.8672,2.887l-.6836,1.8776A11.9729,11.9729,0,0,1,23.7642,6.8593Z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M27.81,14l1.9677-.4128A13.8888,13.8888,0,0,0,28.14,9.0457L26.4087,10A12.52,12.52,0,0,1,27.81,14Z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M20.1836,27.2354l.6836,1.8776a13.976,13.976,0,0,0,4.1821-2.4408l-1.2851-1.5315A11.9729,11.9729,0,0,1,20.1836,27.2354Z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M26.4087,22,28.14,23a14.14,14.14,0,0,0,1.6382-4.5872L27.81,18.0659A12.1519,12.1519,0,0,1,26.4087,22Z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M16,30V2a14,14,0,0,0,0,28Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Incomplete.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Incomplete;