import { __ } from "@wordpress/i18n";
import "./editor.scss";

import {
	useBlockProps,
	RichText,
	BlockControls,
	InnerBlocks,
} from "@wordpress/block-editor";
import { title } from "@wordpress/icons";

export default function Edit() {
	return (
		<div
			{...useBlockProps({
				id: "homegrade-vous-aide",
				className: `homegrade-blocks-help-homegrade`,
			})}
		>
			<InnerBlocks
				allowedBlocks={["homegrade-content-blocks/highlight"]}
				template={[
					[
						"homegrade-content-blocks/highlight",
						{
							iconName: "house",
							title: "Homegrade : comment nous pouvons vous aider",
						},
					],
				]}
			/>
		</div>
	);
}
