@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
54 lines (50 loc) • 2.24 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.
*/
'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, _path2, _path3, _path4, _path5, _path6, _path7, _path8;
const SwitchLayer_3 = /*#__PURE__*/React.forwardRef(function SwitchLayer_3({
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: "M22 4 22 6 24.586 6 19.586 11 21 12.414 26 7.414 26 10 28 10 28 4 22 4z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M10 4 10 6 7.414 6 12.414 11 11 12.414 6 7.414 6 10 4 10 4 4 10 4z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M20 5 16 1 12 5 13.414 6.414 15 4.829 15 11 17 11 17 4.829 18.586 6.414 20 5z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M22 28 22 26 24.586 26 19.586 21 21 19.586 26 24.586 26 22 28 22 28 28 22 28z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M10 28 10 26 7.414 26 12.414 21 11 19.586 6 24.586 6 22 4 22 4 28 10 28z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M20 27 16 31 12 27 13.414 25.586 15 27.171 15 21 17 21 17 27.171 18.586 25.586 20 27z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M5 12 1 16 5 20 6.414 18.586 4.829 17 11 17 11 15 4.829 15 6.414 13.414 5 12z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M27 12 31 16 27 20 25.586 18.586 27.171 17 21 17 21 15 27.171 15 25.586 13.414 27 12z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
SwitchLayer_3.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = SwitchLayer_3;