UNPKG

@carbon/icons-react

Version:

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

40 lines (36 loc) 1.26 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. */ 'use strict'; var React = require('react'); var Icon_js = require('./Icon.js'); var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js'); require('@carbon/icon-helpers'); require('prop-types'); var _path; const ToggleOn = /*#__PURE__*/React.forwardRef(function ToggleOn({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon_js, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, _path || (_path = /*#__PURE__*/React.createElement("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.iconPropTypes; } module.exports = ToggleOn;