import { useBlockProps, useInnerBlocksProps, RichText, } from '@wordpress/block-editor'; export default function save( { attributes } ) { const { caption, headers, footers, hasHeader, hasFooter, isEmpty } = attributes; const blockProps = useBlockProps.save(); const innerBlocksProps = useInnerBlocksProps.save( { className: 'gkit-table__body', } ); return ( ! isEmpty && (
{ Headers }{ Footers }
{ caption && ( ) }
) ); }