diff --git a/packages/block-library/src/pattern/edit.js b/packages/block-library/src/pattern/edit.js new file mode 100644 index 00000000000000..9020bf81fc2fac --- /dev/null +++ b/packages/block-library/src/pattern/edit.js @@ -0,0 +1,23 @@ +/** + * WordPress dependencies + */ +import { useSelect } from '@wordpress/data'; +import { + store as blockEditorStore, + BlockList, + BlockEditorProvider, +} from '@wordpress/block-editor'; + +const PatternEdit = ( { attributes } ) => { + const selectedPattern = useSelect( ( select ) => + select( blockEditorStore ).__experimentalGetParsedPattern( attributes.slug ) + ); + + return ( + + + + ); +}; + +export default PatternEdit;