import { __ } from "@wordpress/i18n";
import "./editor.scss";
import "./tips-container";
import {
	useBlockProps,
	RichText,
	BlockControls,
} from "@wordpress/block-editor";

import { InnerBlocks } from "@wordpress/block-editor";

export default function Edit() {
	return (
		<section
			{...useBlockProps({
				className: `homegrade-blocks-to-know`,
			})}
		>
			<InnerBlocks
				allowedBlocks={[
					"homegrade-content-blocks/section-titling",
					"homegrade-content-blocks/tips-container",
					"core/paragraph",
				]}
				template={[["homegrade-content-blocks/section-titling"]]}
			/>
		</section>
	);
}
