@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
64 lines (62 loc) • 3.32 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.
*/
const require_chunk = require('./chunk-CsKB0u1v.js');
const require_Icon_js = require('./Icon.js');
const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js');
let react = require("react");
react = require_chunk.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:Light.js
const Light = react.default.forwardRef(function Light({ children, size = 16, ...rest }, ref) {
if (size === 16 || size === "16" || size === "16px") return react.default.createElement(require_Icon_js, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 16 16",
fill: "currentColor",
...rest
}, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7.5 1H8.5V3.5H7.5z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M10.8 3.4H13.3V4.4H10.8z",
transform: "rotate(-45 12.041 3.923)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12.5 7.5H15V8.5H12.5z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M11.6 10.8H12.6V13.3H11.6z",
transform: "rotate(-45 12.075 12.04)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7.5 12.5H8.5V15H7.5z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M2.7 11.6H5.2V12.6H2.7z",
transform: "rotate(-45 3.96 12.078)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M1 7.5H3.5V8.5H1z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M3.4 2.7H4.4V5.2H3.4z",
transform: "rotate(-45 3.925 3.961)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8,6c1.1,0,2,0.9,2,2s-0.9,2-2,2S6,9.1,6,8S6.9,6,8,6 M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z" }), children);
return react.default.createElement(require_Icon_js, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 2H17V7H15z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M21.668 6.854H26.625999999999998V8.854H21.668z",
transform: "rotate(-45 24.147 7.853)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M25 15H30V17H25z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M23.147 21.668H25.147V26.625999999999998H23.147z",
transform: "rotate(-45 24.147 24.146)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 25H17V30H15z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M5.375 23.147H10.333V25.147H5.375z",
transform: "rotate(-45 7.853 24.146)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 15H7V17H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
d: "M6.854 5.375H8.854V10.333H6.854z",
transform: "rotate(-45 7.854 7.853)"
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("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" }), children);
});
if (process.env.NODE_ENV !== "production") Light.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = Light;