@wordpress/block-library
Version:
Block library for the WordPress editor.
17 lines (12 loc) • 345 B
JavaScript
import { pages } from '@wordpress/icons';
import initBlock from '../utils/init-block';
import metadata from './block.json';
import edit from './edit.js';
const { name } = metadata;
export { metadata, name };
export const settings = {
icon: pages,
example: {},
edit,
};
export const init = () => initBlock( { name, metadata, settings } );