diff --git a/playground/app/pages/components/tabs.vue b/playground/app/pages/components/tabs.vue index 6392ee71..434b45e0 100644 --- a/playground/app/pages/components/tabs.vue +++ b/playground/app/pages/components/tabs.vue @@ -59,6 +59,14 @@ const items = [{ + + diff --git a/src/runtime/components/Tabs.vue b/src/runtime/components/Tabs.vue index 07e53c21..4d980692 100644 --- a/src/runtime/components/Tabs.vue +++ b/src/runtime/components/Tabs.vue @@ -73,10 +73,12 @@ export interface TabsEmits extends TabsRootEmits {} type SlotProps = (props: { item: T, index: number }) => any export type TabsSlots = { - leading: SlotProps - default: SlotProps - trailing: SlotProps - content: SlotProps + 'leading': SlotProps + 'default': SlotProps + 'trailing': SlotProps + 'content': SlotProps + 'list-leading': (props?: {}) => any + 'list-trailing': (props?: {}) => any } & DynamicSlots @@ -114,6 +116,8 @@ const ui = computed(() => tabs({ + + @@ -126,6 +130,8 @@ const ui = computed(() => tabs({ + +