@wordpress/block-library
Version:
Block library for the WordPress editor.
14 lines (12 loc) • 303 B
JavaScript
/**
* WordPress dependencies
*/
import { InnerBlocks, RichText, useBlockProps } from '@wordpress/block-editor';
export default function save( { attributes } ) {
return (
<li { ...useBlockProps.save() }>
<RichText.Content value={ attributes.content } />
<InnerBlocks.Content />
</li>
);
}