@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
61 lines (57 loc) • 2.24 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, _path7, _path8, _path9;
const Sun = /*#__PURE__*/React.forwardRef(function Sun({
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
}, _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M16,12a4,4,0,1,1-4,4,4.0045,4.0045,0,0,1,4-4m0-2a6,6,0,1,0,6,6,6,6,0,0,0-6-6Z",
transform: "translate(0 .005)"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M6.854 5.375H8.854V10.333H6.854z",
transform: "rotate(-45 7.86 7.856)"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M2 15.005H7V17.005000000000003H2z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M5.375 23.147H10.333V25.147H5.375z",
transform: "rotate(-45 7.86 24.149)"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M15 25.005H17V30.005H15z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M23.147 21.668H25.147V26.625999999999998H23.147z",
transform: "rotate(-45 24.152 24.149)"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M25 15.005H30V17.005000000000003H25z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M21.668 6.854H26.625999999999998V8.854H21.668z",
transform: "rotate(-45 24.152 7.856)"
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
d: "M15 2.005H17V7.005H15z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Sun.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Sun;