@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.26 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:BatteryError.js
const BatteryError = React.forwardRef(function BatteryError({ 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: "M27,11h-1v-1c0-1.1-.9-2-2-2h-7v2h7v3h3v6h-3v3H6v-5h-2v5c0,1.1.9,2,2,2h18c1.1,0,2-.9,2-2v-1h1c1.1,0,2-.9,2-2v-6c0-1.1-.9-2-2-2ZM9,15c3.31,0,6-2.69,6-6s-2.69-6-6-6-6,2.69-6,6,2.69,6,6,6ZM9,5c2.21,0,4,1.79,4,4,0,.71-.2,1.41-.57,2.02l-5.45-5.45c.61-.37,1.31-.56,2.02-.57ZM5.57,6.98l5.45,5.45c-.61.37-1.31.56-2.02.57-2.21,0-4-1.79-4-4,0-.71.2-1.41.57-2.02Z" }), children);
});
if (process.env.NODE_ENV !== "production") BatteryError.propTypes = iconPropTypes;
//#endregion
export { BatteryError as default };