@wordpress/block-library
Version:
Block library for the WordPress editor.
22 lines (21 loc) • 974 B
JavaScript
;
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
let _wordpress_icons = require("@wordpress/icons");
let _wordpress_i18n = require("@wordpress/i18n");
let react_jsx_runtime = require("react/jsx-runtime");
// packages/block-library/src/navigation/edit/placeholder/placeholder-preview.jsx
const PlaceholderPreview = ({ isVisible = true }) => {
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
"aria-hidden": !isVisible ? true : void 0,
className: "wp-block-navigation-placeholder__preview",
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
className: "wp-block-navigation-placeholder__actions__indicator",
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_icons.Icon, { icon: _wordpress_icons.navigation }), (0, _wordpress_i18n.__)("Navigation")]
})
});
};
exports.default = PlaceholderPreview;
//# sourceMappingURL=placeholder-preview.cjs.map