Skip to content

Commit

Permalink
Merge pull request #3076 from nextcloud/fix/noid/app-navigation-item-…
Browse files Browse the repository at this point in the history
…docs

Fix NcAppNavigationItem docs
  • Loading branch information
raimund-schluessler authored Aug 19, 2022
2 parents ea5551c + bbea999 commit af4c279
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ button will be automatically created.
```
<NcAppNavigationItem title="Item with actions" icon="icon-category-enabled">
<template #actions>
<ActionButton icon="icon-edit" @click="alert('Edit')">
<NcActionButton icon="icon-edit" @click="alert('Edit')">
Edit
</ActionButton>
<ActionButton icon="icon-delete" @click="alert('Delete')">
</NcActionButton>
<NcActionButton icon="icon-delete" @click="alert('Delete')">
Delete
</ActionButton>
<ActionLink icon="icon-external" title="Link" href="https://nextcloud.com" />
</NcActionButton>
<NcActionLink icon="icon-external" title="Link" href="https://nextcloud.com" />
</template>
</NcAppNavigationItem>
```
Expand All @@ -65,9 +65,9 @@ Just nest the counter in a template within `<NcAppNavigationItem>` and add `#cou
```
<NcAppNavigationItem title="Item with counter" icon="icon-folder">
<template #counter>
<CounterBubble>
<NcCounterBubble>
99+
</CounterBubble>
</NcCounterBubble>
</template>
</NcAppNavigationItem>
```
Expand Down

0 comments on commit af4c279

Please sign in to comment.