UNPKG

@wordpress/block-library

Version:
32 lines (31 loc) 659 B
// packages/block-library/src/query-no-results/index.js import { __ } from "@wordpress/i18n"; import { loop as icon } from "@wordpress/icons"; import initBlock from "../utils/init-block"; import metadata from "./block.json"; import edit from "./edit"; import save from "./save"; var { name } = metadata; var settings = { icon, edit, save, example: { innerBlocks: [ { name: "core/paragraph", attributes: { content: __("No posts were found.") } } ] } }; var init = () => initBlock({ name, metadata, settings }); export { init, metadata, name, settings }; //# sourceMappingURL=index.js.map