The Block inspector is one of the panels that is displayed in the editor; it is mainly used to view and modify the settings of the selected block.
Render the block inspector component.
import { BlockInspector } from '@wordpress/block-editor';
const MyBlockInspector = () => <BlockInspector />;
Block Editor components are components that can be used to compose the UI of your block editor. Thus, they can only be used under a BlockEditorProvider in the components tree.