@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
60 lines (56 loc) • 1.98 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 _circle, _circle2, _circle3, _circle4, _circle5, _path;
const ColorPalette = /*#__PURE__*/React.forwardRef(function ColorPalette({
children,
size = 16,
...rest
}, ref) {
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
}, _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
cx: "10",
cy: "12",
r: "2"
})), _circle2 || (_circle2 = /*#__PURE__*/React.createElement("circle", {
cx: "16",
cy: "9",
r: "2"
})), _circle3 || (_circle3 = /*#__PURE__*/React.createElement("circle", {
cx: "22",
cy: "12",
r: "2"
})), _circle4 || (_circle4 = /*#__PURE__*/React.createElement("circle", {
cx: "23",
cy: "18",
r: "2"
})), _circle5 || (_circle5 = /*#__PURE__*/React.createElement("circle", {
cx: "19",
cy: "23",
r: "2"
})), _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M16.54,2A14,14,0,0,0,2,16a4.82,4.82,0,0,0,6.09,4.65l1.12-.31A3,3,0,0,1,13,23.24V27a3,3,0,0,0,3,3A14,14,0,0,0,30,15.46,14.05,14.05,0,0,0,16.54,2Zm8.11,22.31A11.93,11.93,0,0,1,16,28a1,1,0,0,1-1-1V23.24a5,5,0,0,0-5-5,5.07,5.07,0,0,0-1.33.18l-1.12.31A2.82,2.82,0,0,1,4,16,12,12,0,0,1,16.47,4,12.18,12.18,0,0,1,28,15.53,11.89,11.89,0,0,1,24.65,24.32Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
ColorPalette.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = ColorPalette;