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