import { __ } from "@wordpress/i18n";
import "./editor.scss";
import { InnerBlocks } from "@wordpress/block-editor";
import "./accordeon-panel-content";
import {
	useBlockProps,
	RichText,
	BlockControls,
} from "@wordpress/block-editor";

export default function Edit() {
	return (
		<div
			{...useBlockProps({
				className: `homegrade-blocks-accordeon`,
			})}
		>
			<InnerBlocks
				template={[
					["homegrade-content-blocks/accordeon-panel-content"],
					["homegrade-content-blocks/accordeon-panel-content"],
				]}
				allowedBlocks={["homegrade-content-blocks/accordeon-panel-content"]}
			/>
		</div>
	);
}
