mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(Tabs): add missing slots definition
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user