@wordpress/block-library
Version:
Block library for the WordPress editor.
22 lines (17 loc) • 410 B
JavaScript
/**
* WordPress dependencies
*/
import { commentAuthorAvatar as icon } from '@wordpress/icons';
/**
* Internal dependencies
*/
import initBlock from '../utils/init-block';
import metadata from './block.json';
import edit from './edit';
const { name } = metadata;
export { metadata, name };
export const settings = {
icon,
edit,
};
export const init = () => initBlock( { name, metadata, settings } );