import { useBlockProps, InspectorControls } from '@wordpress/block-editor';
import { PanelBody, ToggleControl, TextControl } from '@wordpress/components';
export default function Edit({ attributes, setAttributes }) {
const { menuId, collapsed } = attributes;
const blockProps = useBlockProps();
return (
<>
Drawer Menu: {menuId || 'Not configured'}
State: {collapsed ? 'Collapsed' : 'Expanded'}