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

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

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