Skip to content

Commit

Permalink
add header button slot
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbasPL committed Apr 28, 2022
1 parent 2d75fe8 commit 448063c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,11 @@ export default {
{
class: [`vc-arrows-container title-${this.titlePosition}`],
},
[getArrowButton(true), getArrowButton(false)],
[
this.$slots.buttons && this.$slots.buttons(),
getArrowButton(true),
getArrowButton(false),
],
),
this.$slots.footer && this.$slots.footer(),
],
Expand Down

0 comments on commit 448063c

Please sign in to comment.