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