We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f05aae commit 4f47855Copy full SHA for 4f47855
types/index.d.ts
@@ -54,13 +54,24 @@ export interface DynamicModalOptions {
54
* }
55
56
* ```
57
+ *
58
+ * @example
59
+ * ```js
60
+ * {
61
+ * slot: {
62
+ * default: 'pure string'
63
+ * }
64
65
+ * ```
66
*/
67
slots?: {
- [key: string]: {
- component: string | Component
- bind?: { [key: string]: any }
- on?: { [key: string]: Function | Function[] }
- }
68
+ [key: string]:
69
+ | {
70
+ component: string | Component
71
+ bind?: { [key: string]: any }
72
+ on?: { [key: string]: Function | Function[] }
73
+ }
74
+ | string
75
}
76
77
0 commit comments