@wordpress/block-library
Version:
Block library for the WordPress editor.
16 lines (12 loc) • 324 B
JavaScript
/**
* Internal dependencies
*/
import initBlock from '../utils/init-block';
import metadata from './block.json';
import PatternEdit from './edit';
const { name } = metadata;
export { metadata, name };
export const settings = {
edit: PatternEdit,
};
export const init = () => initBlock( { name, metadata, settings } );