UNPKG

@wordpress/block-library

Version:
17 lines (16 loc) • 710 B
import { Icon, navigation } from "@wordpress/icons"; import { __ } from "@wordpress/i18n"; import { jsx, jsxs } from "react/jsx-runtime"; // packages/block-library/src/navigation/edit/placeholder/placeholder-preview.jsx const PlaceholderPreview = ({ isVisible = true }) => { return /* @__PURE__ */ jsx("div", { "aria-hidden": !isVisible ? true : void 0, className: "wp-block-navigation-placeholder__preview", children: /* @__PURE__ */ jsxs("div", { className: "wp-block-navigation-placeholder__actions__indicator", children: [/* @__PURE__ */ jsx(Icon, { icon: navigation }), __("Navigation")] }) }); }; export { PlaceholderPreview as default }; //# sourceMappingURL=placeholder-preview.mjs.map