import { registerBlockType } from '@wordpress/blocks';
import { InnerBlocks } from '@wordpress/block-editor';

import edit from './edit';
import block from './block.json';

const save = () => {
	return (
		<InnerBlocks.Content />
	);
};

registerBlockType(block, {
	usesContext: [ 'core/block-editor/parentBlockId' ],
	providesContext: {
		"core/block-editor/parentBlockId": "id"
	},
	edit,
	save
});
