printer-notifications/node_modules/@skeletonlabs/skeleton/dist/utilities/Toast/ToastTest.svelte
2023-11-13 16:10:04 -05:00

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} />