messageAction
An action to show feedback after an activity. The difference with Notification is that the latter is often used to show a system level passive notification.
Demo
Usage
<script>
import { messageAction } from "svelte-legos";
</script>
<button
use:messageAction={{
message: "Here is your message!",
type: "success" | "warning" | "error" | "info" (default) // optional
}}
>
Show Message
</button>