import Edit from './edit';
import metadata from './block.json';

import { registerBlockType } from '@wordpress/blocks';

registerBlockType(metadata.name, {
    icon: (
        <svg viewBox="0 0 24 24">
            <circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" strokeWidth="1.5"/>
            <circle cx="12" cy="12" r="6" fill="none" stroke="currentColor" strokeWidth="1"/>
            <circle cx="12" cy="12" r="2" fill="currentColor"/>
            <line x1="12" y1="2" x2="12" y2="6" stroke="currentColor" strokeWidth="1"/>
            <line x1="12" y1="18" x2="12" y2="22" stroke="currentColor" strokeWidth="1"/>
            <line x1="2" y1="12" x2="6" y2="12" stroke="currentColor" strokeWidth="1"/>
            <line x1="18" y1="12" x2="22" y2="12" stroke="currentColor" strokeWidth="1"/>
        </svg>
    ),
    edit: Edit,
    save: () => null,
});