mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(Tabs): add list-leading and list-trailing slots (#3837)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -59,6 +59,14 @@ const items = [{
|
||||
<template #custom="{ item }">
|
||||
<span class="text-(--ui-text-muted)">Custom: {{ item.content }}</span>
|
||||
</template>
|
||||
|
||||
<template #list-trailing>
|
||||
<UButton
|
||||
icon="lucide:refresh-cw"
|
||||
variant="soft"
|
||||
class="ml-2"
|
||||
/>
|
||||
</template>
|
||||
</UTabs>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user