Skip to content

Commit 521218d

Browse files
committed
typo
1 parent 11ac770 commit 521218d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/3.api/2.composables/1.use-modal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const modalInstance = useModal<
4242
onClosed() { /* on closed */ },
4343
},
4444
slots: {
45-
defaults: '<p>The content of the modal</p>'
45+
default: '<p>The content of the modal</p>'
4646
}
4747
})
4848

@@ -101,7 +101,7 @@ You have to manually calling `modalInstance.destroy()`{lang=ts} whenever you no
101101
modalInstance.destroy()
102102
},
103103
},
104-
slots: { defaults: '<p>The content of the modal</p>' }
104+
slots: { default: '<p>The content of the modal</p>' }
105105
})
106106

107107
modalInstance.open()
@@ -136,7 +136,7 @@ You have to manually calling `modalInstance.destroy()`{lang=ts} whenever you no
136136
modalInstance.destroy()
137137
},
138138
},
139-
slots: { defaults: '<p>The content of the modal</p>' }
139+
slots: { default: '<p>The content of the modal</p>' }
140140
})
141141

142142
modalInstance.open()

0 commit comments

Comments
 (0)