import { registerBlockType } from "@wordpress/blocks";
import "./style.scss";

import Edit from "./edit";
import save from "./save";
import metadata from "./block.json";

registerBlockType(metadata.name, {
	icon: {
		src: (
			<svg width="32" height="32" viewBox="0 0 32 32">
				<path d="M16 24L8 16L16 8L24 16L16 24Z" />
			</svg>
		),
	},
	edit: Edit,
	save,
});
