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