UNPKG

@wordpress/block-library

Version:
50 lines (48 loc) 1.96 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // packages/block-library/src/navigation/edit/overlay-menu-icon.js var overlay_menu_icon_exports = {}; __export(overlay_menu_icon_exports, { default: () => OverlayMenuIcon }); module.exports = __toCommonJS(overlay_menu_icon_exports); var import_primitives = require("@wordpress/primitives"); var import_icons = require("@wordpress/icons"); var import_jsx_runtime = require("react/jsx-runtime"); function OverlayMenuIcon({ icon }) { if (icon === "menu") { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.Icon, { icon: import_icons.menu }); } return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)( import_primitives.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", "aria-hidden": "true", focusable: "false", children: [ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.Rect, { x: "4", y: "7.5", width: "16", height: "1.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.Rect, { x: "4", y: "15", width: "16", height: "1.5" }) ] } ); } //# sourceMappingURL=overlay-menu-icon.js.map