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

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

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