UNPKG

@carbon/icons-react

Version:

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

58 lines (56 loc) 3.04 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. */ const require_chunk = require('./chunk-CsKB0u1v.js'); const require_Icon_js = require('./Icon.js'); const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js'); let react = require("react"); react = require_chunk.__toESM(react); let react_jsx_runtime = require("react/jsx-runtime"); //#region virtual:Menu.js const Menu = react.default.forwardRef(function Menu({ children, size = 16, ...rest }, ref) { if (size === 16 || size === "16" || size === "16px") return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 12H14V13H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 9H14V10H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 6H14V7H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 3H14V4H2z" }), children); if (size === 20 || size === "20" || size === "20px") return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 14.8H18V16H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 11.2H18V12.399999999999999H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 7.6H18V8.799999999999999H2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 4H18V5.2H2z" }), children); if (size === 24 || size === "24" || size === "24px") return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 18H21V19.5H3z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 13.5H21V15H3z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 9H21V10.5H3z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 4.5H21V6H3z" }), children); return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4 6H28V8H4z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4 24H28V26H4z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4 12H28V14H4z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4 18H28V20H4z" }), children); }); if (process.env.NODE_ENV !== "production") Menu.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = Menu;