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

/**
 * Internal dependencies
 */
import { ReactComponent as BlockIcon } from '../../block-icons/pagination-infinite.svg';
import variations from '../pagination/variations';
import metadata from './block.json';
import edit from './edit';

/**
 * Register block
 */
registerBlockType( metadata.name, {
	...metadata,
	icon: {
		foreground: '#2540CC',
		src: <BlockIcon width="20" height="20" />,
	},
	variations,
	edit,
} );
