docs(SelectMenu): improve default slot example

This commit is contained in:
Benjamin Canac
2023-09-11 14:48:56 +02:00
parent 0544a01c5b
commit 00e951f708
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ const selected = ref(people[3])
<template>
<USelectMenu v-slot="{ open }" v-model="selected" :options="people">
<UButton color="gray">
<UButton color="gray" class="flex-1 justify-between">
{{ selected }}
<UIcon name="i-heroicons-chevron-right-20-solid" class="w-5 h-5 transition-transform text-gray-400 dark:text-gray-500" :class="[open && 'transform rotate-90']" />