UNPKG

@wordpress/block-library

Version:
29 lines (27 loc) 872 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _icons = require("@wordpress/icons"); var _i18n = require("@wordpress/i18n"); var _jsxRuntime = require("react/jsx-runtime"); /** * WordPress dependencies */ const PlaceholderPreview = ({ isVisible = true }) => { return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", { "aria-hidden": !isVisible ? true : undefined, className: "wp-block-navigation-placeholder__preview", children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", { className: "wp-block-navigation-placeholder__actions__indicator", children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Icon, { icon: _icons.navigation }), (0, _i18n.__)('Navigation')] }) }); }; var _default = exports.default = PlaceholderPreview; //# sourceMappingURL=placeholder-preview.js.map