You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
326 B
Svelte

<script>import { initializeToastStore, getToastStore } from "./stores.js";
import Toast from "./Toast.svelte";
export let toastSettings = [];
export let max = void 0;
initializeToastStore();
const toastStore = getToastStore();
toastSettings.forEach((element) => {
toastStore.trigger(element);
});
</script>
<Toast {max} />