feat: add header slot
This commit is contained in:
parent
1899522328
commit
68a766099a
1 changed files with 4 additions and 1 deletions
|
|
@ -8,12 +8,15 @@ defineProps<{
|
|||
|
||||
<template>
|
||||
<div class="dialog-header-container">
|
||||
<slot name="before" />
|
||||
<div class="dialog-header-main">
|
||||
<slot name="title-before" />
|
||||
{{ title }}
|
||||
<slot name="title-after" />
|
||||
</div>
|
||||
<CancelButton icon-only v-close-popup />
|
||||
<slot name="after">
|
||||
<CancelButton icon-only v-close-popup />
|
||||
</slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue