fix(Tabs): add missing slots definition

This commit is contained in:
Benjamin Canac
2024-04-16 17:24:57 +02:00
parent 13a53f4cfb
commit b78ca9c56a

View File

@@ -32,7 +32,9 @@ export interface TabsEmits extends TabsRootEmits {}
type SlotProps<T> = (props: { item: T, index: number }) => any
export type TabsSlots<T> = {
leading: SlotProps<T>
default: SlotProps<T>
trailing: SlotProps<T>
content: SlotProps<T>
[key: string]: SlotProps<T>
}