import Edit from './edit';
import save from './save';
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"/>
            <path d="M12 2a10 10 0 0 1 0 20 5 5 0 0 1 0-10 5 5 0 0 0 0-10z" fill="currentColor"/>
            <circle cx="12" cy="7" r="1.5" fill="#000"/>
            <circle cx="12" cy="17" r="1.5" fill="#fff"/>
        </svg>
    ),
    edit: Edit,
    save,
});