mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 03:10:42 +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
|
type SlotProps<T> = (props: { item: T, index: number }) => any
|
||||||
|
|
||||||
export type TabsSlots<T> = {
|
export type TabsSlots<T> = {
|
||||||
|
leading: SlotProps<T>
|
||||||
default: SlotProps<T>
|
default: SlotProps<T>
|
||||||
|
trailing: SlotProps<T>
|
||||||
content: SlotProps<T>
|
content: SlotProps<T>
|
||||||
[key: string]: SlotProps<T>
|
[key: string]: SlotProps<T>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user