@gechiui/block-editor
Version:
38 lines (21 loc) • 1.3 kB
Markdown
The block breadcrumb trail displays the hierarchy of the current block selection as a breadcrumb. It also allows, using this hierarchy, to navigate to the parent elements of the current block selection. It is located at the very bottom of the editor interface.


1. [Development guidelines](
2. [Related components](
Label text for the root element (the first `<li />`) of the breadcrumb trail.
- Type: `String`
- Required: No
### Usage
Renders a block breadcrumb with default style.
```jsx
import { BlockBreadcrumb } from '@gechiui/block-editor';
const MyBreadcrumb = () => <BlockBreadcrumb />;
```
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`](https://github.com/GeChiUI/gutenberg/blob/HEAD/packages/block-editor/src/components/provider/README.md) in the components tree.