import Edit from './edit';
import metadata from './block.json';
import { registerBlockType } from '@wordpress/blocks';

registerBlockType(metadata.name, {
    ...metadata,
    icon: (
        <svg viewBox="0 0 24 24">
            <circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" strokeWidth="1.5"/>
            <path d="M12 2a10 10 0 0 1 0 20 8 8 0 0 0 0-20" fill="currentColor"/>
        </svg>
    ),
    edit: Edit,
    save: () => null,
});
