UNPKG

@wordpress/block-library

Version:
40 lines 751 B
/** * Internal dependencies */ import initBlock from '../utils/init-block'; const metadata = { $schema: "https://schemas.wp.org/trunk/block.json", apiVersion: 3, name: "core/pattern", title: "Pattern Placeholder", category: "theme", description: "Show a block pattern.", supports: { html: false, inserter: false, renaming: false, interactivity: { clientNavigation: true } }, textdomain: "default", attributes: { slug: { type: "string" } } }; import PatternEdit from './edit'; const { name } = metadata; export { metadata, name }; export const settings = { edit: PatternEdit }; export const init = () => initBlock({ name, metadata, settings }); //# sourceMappingURL=index.js.map