UNPKG

@wordpress/block-library

Version:
27 lines (22 loc) 503 B
/** * WordPress dependencies */ import { postComments as icon } from '@wordpress/icons'; /** * Internal dependencies */ import initBlock from '../utils/init-block'; import metadata from './block.json'; import deprecated from './deprecated'; import edit from './edit'; import save from './save'; const { name } = metadata; export { metadata, name }; export const settings = { icon, example: {}, edit, save, deprecated, }; export const init = () => initBlock( { name, metadata, settings } );