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

export default function save({ attributes }) {
	const { hasNumbering } = attributes;
	return (
		<div
			{...useBlockProps.save({
				className: `scroll-story-block ${
					hasNumbering ? "scroll-story-block--has-numbering" : ""
				}`,
			})}
		>
			<InnerBlocks.Content />
		</div>
	);
}
