
/** messages */
import './modules/messages/messages-block.js';

/** toggle */
import './modules/toggle/toggle-block.js';

/** tabs */
import './modules/tabs/tabs-block.js';

/** accordion */
import './modules/accordion/accordion-block.js';

/** image */
import './modules/image/image-block.js';

/** list */
import './modules/list/list-block.js';

import testSvg from './ht-blocks-logo.svg';

/*
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" stroke-width="2">
	<g fill="none" stroke="#2d9bf3" stroke-linecap="square" stroke-miterlimit="10">
		<path d="M20 23H4a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v18a2 2 0 0 1-2 2z"/>
		<path d="M13 8l-3 4h4l-3 4"/>
	</g>
</svg>
*/


( function() { 
	var el = wp.element.createElement;
    var SVG = wp.components.SVG;
    var circle = el( 'circle', { cx: 10, cy: 10, r: 10, fill: 'red', stroke: 'blue', strokeWidth: '10' } );
    var svgIcon = el( SVG, { width: 20, height: 20, viewBox: '0 0 20 20'}, testSvg);
	wp.blocks.updateCategory( 'heroic-blocks', { icon: svgIcon } ); } 
)();
