File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
docs/content/2.get-started/1.guide Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -23,31 +23,32 @@ export type StyleValue = string | CSSProperties | (string | CSSProperties)[]
2323## ModalSlot
2424
2525` ` ` ts
26- interface UseModalOptionsBase { component: Raw <Component >; attrs? : Record <string , any > }
27- type ModalSlot = string | Component | UseModalOptionsBase
26+ export interface ModalSlotOptions { component: Raw <Component >; attrs? : Record <string , any > }
27+ export type ModalSlot = string | Component | ModalSlotOptions
28+ ` ` `
29+
30+ ## UseModalOptions
31+
32+ ` ` ` ts
33+ export type UseModalOptions = {
34+ defaultModelValue? : boolean
35+ context? : Vfm
36+ component? : Raw <Component >
37+ attrs? : Record <string , any >
38+ } & UseModalOptionsSlots
2839` ` `
2940
3041## UseModalOptionsSlots
3142
3243` ` ` ts
3344export type UseModalOptionsSlots = {
34- slots? : string | Component | {
45+ slots? : {
3546 default: ModalSlot
3647 [key : string ]: ModalSlot
3748 }
3849}
3950` ` `
4051
41- ## UseModalOptions
42-
43- ` ` ` ts
44- export type UseModalOptions = {
45- defaultModelValue? : boolean
46- context? : Vfm
47- component: Raw <Component >
48- attrs? : Record <string , any >
49- } & UseModalOptionsSlots
50- ` ` `
5152
5253## UseModalOptionsPrivate
5354
You can’t perform that action at this time.
0 commit comments