/**
 * External dependencies.
 */
import { registerBlockType } from '@wordpress/blocks';

/**
 * Internal dependencies.
 */
import metadata from './block.json';
import edit from './edit';
import blockIcons from '@spectra-pro-helpers/block-icons';

/**
 * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
 * All files containing `style` keyword are bundled together. The code used
 * gets applied both to the front of your site and to the editor.
 */
import './style.scss';

/**
 * Register the Button block.
 */
registerBlockType( metadata.name, {
	icon: blockIcons.loopBuilderChildren.paginationNumbers(),
	edit,
} );
