mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(SelectMenu): new component (#103)
This commit is contained in:
@@ -218,12 +218,7 @@ onMounted(() => {
|
||||
|
||||
<ComboboxSeparator v-else-if="item?.type === 'separator'" :class="ui.separator()" />
|
||||
|
||||
<ComboboxItem
|
||||
v-else
|
||||
:class="ui.item()"
|
||||
:disabled="item.disabled"
|
||||
:value="item"
|
||||
>
|
||||
<ComboboxItem v-else :class="ui.item()" :disabled="item.disabled" :value="item">
|
||||
<slot name="item" :item="(item as T)" :index="index">
|
||||
<slot name="item-leading" :item="(item as T)" :index="index">
|
||||
<UAvatar v-if="item.avatar" size="2xs" v-bind="item.avatar" :class="ui.itemLeadingAvatar()" />
|
||||
|
||||
Reference in New Issue
Block a user