/**
 * WordPress dependencies
 */
import { registerBlockType } from '@wordpress/blocks';
import { tag as icon } from '@wordpress/icons';

/**
 * Internal dependencies
 */
import Edit from './edit';
import metadata from './block.json';
import { getTagsAttributes } from '../utils';

/**
 * Register the block.
 */
registerBlockType( metadata, {
	attributes: getTagsAttributes(),
	icon,
	edit: Edit
} );
