mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore(Toaster): move slot first
This commit is contained in:
@@ -77,6 +77,8 @@ function getOffset (index: number) {
|
||||
|
||||
<template>
|
||||
<ToastProvider :swipe-direction="swipeDirection" v-bind="providerProps">
|
||||
<slot />
|
||||
|
||||
<UToast
|
||||
v-for="(toast, index) of toasts"
|
||||
:key="toast.id"
|
||||
@@ -112,7 +114,5 @@ function getOffset (index: number) {
|
||||
@mouseenter="hovered = true"
|
||||
@mouseleave="hovered = false"
|
||||
/>
|
||||
|
||||
<slot />
|
||||
</ToastProvider>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user