import { __ } from "@wordpress/i18n"; import { InspectorControls, useBlockProps } from "@wordpress/block-editor"; import { PanelBody, CheckboxControl, ToggleControl, __experimentalToggleGroupControl as ToggleGroupControl, __experimentalToggleGroupControlOption as ToggleGroupControlOption, } from "@wordpress/components"; import "./editor.scss"; import ServerSideRender from "@wordpress/server-side-render"; export default function Edit({ attributes, setAttributes }) { const { displayType } = attributes; function onDisplayTypeChange(value) { setAttributes({ displayType: value }); } return ( <>
); }