import { __ } from '@wordpress/i18n';
import { useBlockProps, InspectorControls } from '@wordpress/block-editor';
import { PanelBody, ToggleControl, SelectControl } from '@wordpress/components';
export const edit = ( props ) => {
const blockProps = useBlockProps();
const position = [
{ label: 'Center', value: 'center' },
{ label: 'Left', value: 'left' },
{ label: 'Right', value: 'right' },
{ label: 'Top', value: 'top' },
{ label: 'Bottom', value: 'bottom' },
];
const size = [
{ label: 'Auto', value: 'auto' },
{ label: 'Cover', value: 'cover' },
{ label: 'Contain', value: 'contain' },
{ label: 'Unset', value: 'unset' },
];
return (
<>