Skip to content

Commit a99c8fb

Browse files
committed
docs: fix dynamicModalOptions
1 parent 961f37f commit a99c8fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/content/en/dynamic-modal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ To show dynamic modal you can use the API `$vfm.show` function.
4545

4646
```ts
4747
type dynamicModalOptions = {
48-
component?: string | Component | AsyncComponent // modal component
48+
component?: string | Component // modal component
4949
bind?: { [key: string]: any}, // bind props and attrs to modal
5050
on?: { [key: string]: Function | Function[] } // register events to modal
5151
slots?: {
5252
[key: string]: // slot name
5353
| {
54-
component: string | Component | AsyncComponent // slot component
54+
component: string | Component // slot component
5555
bind?: { [key: string]: any } // bind props and attrs to slot component
5656
on?: { [key: string]: Function | Function[] } // register events to slot component
5757
}

docs/content/zh-Hant/dynamic-modal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ features:
4545

4646
```ts
4747
type dynamicModalOptions = {
48-
component?: string | Component | AsyncComponent // modal component
48+
component?: string | Component // modal component
4949
bind?: { [key: string]: any}, // bind props and attrs to modal
5050
on?: { [key: string]: Function | Function[] } // register events to modal
5151
slots?: {
5252
[key: string]: // slot name
5353
| {
54-
component: string | Component | AsyncComponent // slot component
54+
component: string | Component // slot component
5555
bind?: { [key: string]: any } // bind props and attrs to slot component
5656
on?: { [key: string]: Function | Function[] } // register events to slot component
5757
}

0 commit comments

Comments
 (0)