u
This commit is contained in:
1 parent
a8f3e58a27
commit
f8963da889
28 files changed
+863
-208
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import type { InjectionKey, VNode } from 'vue'
|
||||
|
||||
export interface CollapseGroupContext {
|
||||
name: 'AoCollapseGroup'
|
||||
activeKey: string | number | boolean | (string | number | boolean)[] | undefined
|
||||
defaultExpandAll: boolean
|
||||
disabled: boolean
|
||||
expandIcon: boolean | string | VNode | ((args: { expanded: boolean }) => VNode)
|
||||
expandIconPlacement: 'left' | 'right'
|
||||
destroyOnHide: boolean
|
||||
borderLess: boolean
|
||||
handleChange: (value: string | number | boolean, e: Event) => void
|
||||
}
|
||||
|
||||
export const collapseGroupKey: InjectionKey<CollapseGroupContext> = Symbol('CollapseGroup')
|
||||
Reference in new issue
Block a user