@wordpress/block-library
Version:
Block library for the WordPress editor.
24 lines (21 loc) • 654 B
JavaScript
import { createElement } from "@wordpress/element";
/**
* WordPress dependencies
*/
import { Icon, navigation } from '@wordpress/icons';
import { __ } from '@wordpress/i18n';
const PlaceholderPreview = _ref => {
let {
isVisible = true
} = _ref;
return createElement("div", {
"aria-hidden": !isVisible ? true : undefined,
className: "wp-block-navigation-placeholder__preview"
}, createElement("div", {
className: "wp-block-navigation-placeholder__actions__indicator"
}, createElement(Icon, {
icon: navigation
}), __('Navigation')));
};
export default PlaceholderPreview;
//# sourceMappingURL=placeholder-preview.js.map