@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
35 lines (33 loc) • 1.46 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 Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:SolarPanel.js
const SolarPanel = React.forwardRef(function SolarPanel({ children, size = 16, ...rest }, ref) {
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("path", { d: "M30,26V14H13V26h5v2H2v2H30V28H25V26Zm-5-2V21h3v3Zm-2-3v3H20V21Zm-3-2V16h3v3Zm8,0H25V16h3ZM18,16v3H15V16Zm-3,8V21h3v3Zm8,4H20V26h3Z" }), /* @__PURE__ */ jsx("path", { d: "M9.3328,14.981A4,4,0,1,1,16,12H14a2,2,0,1,0-3.3333,1.4907Z" }), /* @__PURE__ */ jsx("path", { d: "M11 2H13V6H11z" }), /* @__PURE__ */ jsx("path", { d: "M2 11H6V13H2z" }), /* @__PURE__ */ jsx("path", {
d: "M5.343 4.343H7.343V8.343H5.343z",
transform: "rotate(-45 6.343 6.343)"
}), /* @__PURE__ */ jsx("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;
//#endregion
export { SolarPanel as default };