<script setup>
// imports

import { useToast } from "~/composables/global/useToast";

// state

const { toasts } = useToast();
</script>

<template>
    <ToastBox
        v-for="toast in toasts"
        :key="toast.id"
        :id="toast.id"
        :message="toast.message"
        :options="toast.options"
    />
</template>
