Skip to content

Commit 163e615

Browse files
refactor(BModal): ♻️ Update BModal slots name
1 parent 8e0da98 commit 163e615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/bootstrap-vue-3/src/components/BModal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
:class="contentClass"
2020
>
2121
<div v-if="!hideHeaderBoolean" class="modal-header" :class="computedHeaderClasses">
22-
<slot name="modal-header">
22+
<slot name="header">
2323
<component :is="titleTag" class="modal-title" :class="computedTitleClasses">
2424
<slot name="title">
2525
{{ title }}
@@ -49,7 +49,7 @@
4949
<slot />
5050
</div>
5151
<div v-if="!hideFooterBoolean" class="modal-footer" :class="computedFooterClasses">
52-
<slot name="modal-footer">
52+
<slot name="footer">
5353
<b-button
5454
v-if="!okOnlyBoolean"
5555
type="button"

0 commit comments

Comments
 (0)