@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
54 lines (51 loc) • 1.79 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 React from 'react';
import Icon from './Icon.js';
import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js';
import '@carbon/icon-helpers';
import 'prop-types';
var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9;
const Switcher = /*#__PURE__*/React.forwardRef(function Switcher({
children,
size = 16,
...rest
}, ref) {
return /*#__PURE__*/React.createElement(Icon, {
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: "M14 4H18V8H14z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M4 4H8V8H4z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M24 4H28V8H24z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M14 14H18V18H14z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M4 14H8V18H4z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M24 14H28V18H24z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M14 24H18V28H14z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M4 24H8V28H4z"
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
d: "M24 24H28V28H24z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Switcher.propTypes = iconPropTypes;
}
export { Switcher as default };