import { __ } from "@wordpress/i18n";
import ServerSideRender from "@wordpress/server-side-render";
import { useBlockProps } from "@wordpress/block-editor";

import "./editor.scss";

export default function Edit(props) {
	return (
		<div {...useBlockProps()}>
			<ServerSideRender
				block="dynamiques-blocks/revues-precedentes"
				attributes={props.attributes}
			/>
		</div>
	);
}
