Skip to content

Commit

Permalink
docs(VerticalNavigation): add truncate in icon slot example (#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacmandoh committed Nov 20, 2023
1 parent a1b38c4 commit f245b46
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -32,7 +32,10 @@ const links = [{
</script>

<template>
<UVerticalNavigation :links="links">
<UVerticalNavigation
:links="links"
:ui="{ wrapper: 'truncate' }"
>
<template #icon="{ link }">
<UIcon v-if="link.type" :name="types[link.type].icon" :class="types[link.type].color" class="text-base" />
<UIcon v-else :name="types.default.icon" :class="types.default.color" class="text-base" />
Expand Down

1 comment on commit f245b46

@vercel
Copy link

@vercel vercel bot commented on f245b46 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-git-dev-nuxt-js.vercel.app
ui-nuxt-js.vercel.app
ui.nuxt.com

Please sign in to comment.