@wordpress/block-library
Version:
Block library for the WordPress editor.
17 lines (13 loc) • 357 B
JavaScript
import initBlock from '../utils/init-block';
import metadata from './block.json';
import edit from './edit';
import icon from './icon';
import deprecated from './deprecated';
const { name } = metadata;
export { metadata, name };
export const settings = {
icon,
edit,
deprecated,
};
export const init = () => initBlock( { name, metadata, settings } );