UNPKG

@wordpress/block-library

Version:
26 lines (22 loc) 554 B
import { __ } from '@wordpress/i18n'; import { next as icon } from '@wordpress/icons'; import initBlock from '../utils/init-block'; import metadata from './block.json'; import edit from './edit'; import variations from './variations'; import deprecated from './deprecated'; const { name } = metadata; export { metadata, name }; export const settings = { icon, edit, variations, deprecated, example: { attributes: { label: __( 'Next post' ), arrow: 'arrow', }, }, }; export const init = () => initBlock( { name, metadata, settings } );