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

import {
	useBlockProps,
	InnerBlocks,
	InspectorControls,
} from "@wordpress/block-editor";
export default function Edit() {
	return (
		<div
			{...useBlockProps({
				className: `homegrade-blocks-tips-to-know__tips-container`,
			})}
		>
			<InnerBlocks
				allowedBlocks={["homegrade-content-blocks/tip"]}
				template={[
					["homegrade-content-blocks/tip", { tipTitle: "Astuce 1" }],
					["homegrade-content-blocks/tip", { tipTitle: "Astuce 2" }],
				]}
				templateLock={false}
			/>
		</div>
	);
}
