UNPKG

@carbon/icons-react

Version:

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

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