import { useBlockProps } from "@wordpress/block-editor";
import { RichText } from "@wordpress/block-editor";

export default function save({ attributes }) {
	const { content } = attributes;
	const blockProps = useBlockProps.save({
		className: "block-chapo",
	});

	return <RichText.Content {...blockProps} value={content} tagName="p" />;
}
