UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

29 lines (27 loc) 1.24 kB
/** * 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:BatteryWarning.js const BatteryWarning = React.forwardRef(function BatteryWarning({ 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-10v2h10v3h3v6h-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-2ZM14,14c0-.13-.03-.27-.08-.39L8.89,3.55c-.17-.34-.52-.55-.89-.55-.38,0-.73.21-.89.55L2.11,13.55c-.25.49-.05,1.1.45,1.34.14.07.29.11.45.11h10c.55,0,1-.45,1-1h-.01ZM4.62,13l3.38-6.76,3.38,6.76h-6.76Z" }), children); }); if (process.env.NODE_ENV !== "production") BatteryWarning.propTypes = iconPropTypes; //#endregion export { BatteryWarning as default };