@carbon/pictograms-react
Version:
React components for pictograms in digital and software products using the Carbon Design System
37 lines (36 loc) • 1.8 kB
JavaScript
/**
* Copyright IBM Corp. 2019, 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_rolldown_runtime = require("../rolldown-runtime-BmbvWPDh.cjs");
const require_Icon_js = require("../Icon.js");
let react = require("react");
react = require_rolldown_runtime.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:electric/index.js
/**
* Copyright IBM Corp. 2019, 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 Electric = /*#__PURE__*/ react.default.forwardRef(function Electric({ children, ...rest }, ref) {
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Icon_js, {
width: 64,
height: 64,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref,
...rest,
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M25,8.64c-3.507,0-6.36,2.853-6.36,6.36v10c0,3.11-2.53,5.64-5.64,5.64S7.36,28.11,7.36,25v-5.658 c3.339-0.188,6-2.957,6-6.342V5c0-0.199-0.161-0.36-0.36-0.36h-2.64V1c0-0.199-0.161-0.36-0.36-0.36S9.64,0.801,9.64,1v3.64H4.36V1 c0-0.199-0.161-0.36-0.36-0.36S3.64,0.801,3.64,1v3.64H1C0.801,4.64,0.64,4.801,0.64,5v8c0,3.385,2.661,6.154,6,6.342V25 c0,3.507,2.853,6.36,6.36,6.36s6.36-2.854,6.36-6.36V15c0-3.11,2.529-5.64,5.64-5.64s5.64,2.53,5.64,5.64v10h0.721V15 C31.36,11.493,28.507,8.64,25,8.64z M1.36,5.36h11.28v3.28H1.36V5.36z M1.36,13V9.36h11.28V13c0,3.11-2.53,5.64-5.64,5.64 S1.36,16.11,1.36,13z" }), children]
});
});
//#endregion
module.exports = Electric;