UNPKG

@wordpress/block-library

Version:
42 lines (40 loc) 997 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = OverlayMenuIcon; var _primitives = require("@wordpress/primitives"); var _icons = require("@wordpress/icons"); var _jsxRuntime = require("react/jsx-runtime"); /** * WordPress dependencies */ function OverlayMenuIcon({ icon }) { if (icon === 'menu') { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Icon, { icon: _icons.menu }); } return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_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, _jsxRuntime.jsx)(_primitives.Rect, { x: "4", y: "7.5", width: "16", height: "1.5" }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.Rect, { x: "4", y: "15", width: "16", height: "1.5" })] }); } //# sourceMappingURL=overlay-menu-icon.js.map