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

registerBlockType(metadata.name, {
    ...metadata,
    icon: (
        <svg viewBox="0 0 24 24">
            <circle cx="6" cy="6" r="3" fill="none" stroke="currentColor" strokeWidth="1.5"/>
            <circle cx="6" cy="6" r="1" fill="currentColor"/>
            <line x1="6" y1="1.5" x2="6" y2="2.5" stroke="currentColor" strokeWidth="1"/>
            <line x1="6" y1="9.5" x2="6" y2="10.5" stroke="currentColor" strokeWidth="1"/>
            <line x1="1.5" y1="6" x2="2.5" y2="6" stroke="currentColor" strokeWidth="1"/>
            <line x1="9.5" y1="6" x2="10.5" y2="6" stroke="currentColor" strokeWidth="1"/>
            <line x1="12" y1="5" x2="22" y2="5" stroke="currentColor" strokeWidth="1.5"/>
            <line x1="12" y1="9" x2="19" y2="9" stroke="currentColor" strokeWidth="1.5"/>
            <line x1="3" y1="14" x2="22" y2="14" stroke="currentColor" strokeWidth="1.5"/>
            <line x1="3" y1="19" x2="17" y2="19" stroke="currentColor" strokeWidth="1.5"/>
            <circle cx="6" cy="14" r="1" fill="currentColor"/>
            <circle cx="6" cy="19" r="1" fill="currentColor"/>
        </svg>
    ),
    edit: Edit,
    save,
});