@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.15 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:ToggleOn.js
const ToggleOn = React.forwardRef(function ToggleOn({ 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: "M10,7.991h12c4.4111,0,8,3.5887,8,8s-3.5889,8-8,8h-12c-4.4111,0-8-3.5887-8-8S5.5889,7.991,10,7.991ZM22,21.991c3.3086,0,6-2.6917,6-6s-2.6914-6-6-6h-12c-3.3086,0-6,2.6917-6,6s2.6914,6,6,6h12ZM19,15.991c0,1.6569,1.3431,3,3,3s3-1.3431,3-3-1.3431-3-3-3-3,1.3431-3,3Z" }), children);
});
if (process.env.NODE_ENV !== "production") ToggleOn.propTypes = iconPropTypes;
//#endregion
export { ToggleOn as default };