@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
50 lines (47 loc) • 1.77 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;
const SolarPanel = /*#__PURE__*/React.forwardRef(function SolarPanel({
children,
size = 16,
...rest
}, ref) {
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: "M30,26V14H13V26h5v2H2v2H30V28H25V26Zm-5-2V21h3v3Zm-2-3v3H20V21Zm-3-2V16h3v3Zm8,0H25V16h3ZM18,16v3H15V16Zm-3,8V21h3v3Zm8,4H20V26h3Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M9.3328,14.981A4,4,0,1,1,16,12H14a2,2,0,1,0-3.3333,1.4907Z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M11 2H13V6H11z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M2 11H6V13H2z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M5.343 4.343H7.343V8.343H5.343z",
transform: "rotate(-45 6.343 6.343)"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M16.657 4.343H18.657V8.343H16.657z",
transform: "rotate(225 17.657 6.343)"
})), children);
});
if (process.env.NODE_ENV !== "production") {
SolarPanel.propTypes = iconPropTypes;
}
export { SolarPanel as default };