mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-03 21:57:58 +01:00
chore(Slideover): improve header slot
This commit is contained in:
@@ -22,8 +22,10 @@
|
|||||||
leave-to="-translate-x-full"
|
leave-to="-translate-x-full"
|
||||||
>
|
>
|
||||||
<div class="relative flex-1 flex flex-col w-full max-w-md u-bg-white focus:outline-none">
|
<div class="relative flex-1 flex flex-col w-full max-w-md u-bg-white focus:outline-none">
|
||||||
<div class="flex-shrink-0 flex items-center justify-between px-4 h-16 border-b u-border-gray-200">
|
<div v-if="$slots.header" class="h-16 border-b u-border-gray-200">
|
||||||
<slot name="header" />
|
<div class="flex items-center justify-between px-4">
|
||||||
|
<slot name="header" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
Reference in New Issue
Block a user