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

export default function save({ attributes }) {
	const { focusCaptionDescription, focusTitle } = attributes;
	return (
		<li
			{...useBlockProps.save({
				className: `homegrade-blocks-focus-point-caption`,
			})}
		>
			{/* <span className="focus-point-title">{focusTitle}</span> */}
			<RichText.Content
				tagName="span"
				className="focus-point-title"
				value={focusTitle}
			/>
			<RichText.Content tagName="span" value={focusCaptionDescription} />
			{/* {focusCaptionDescription} */}
		</li>
	);
}
