UNPKG

@gitlab/ui

Version:
24 lines (17 loc) 473 B
## Usage This component also allows for optional avatars on each item. `avatarPath` should passed along with `text` and `href` in `items`. Here is an example of how an item with an avatar should look: **note:** the component supports passing the property `to` in the list items to enable navigation through `vue-router` ### Example ```js items = [ { text: 'First item', href: '#', avatarPath: '/avatar.png', }, ]; <gl-breadcrumb :items="items" /> ```