wobsoriano / svelte-sonner

An opinionated toast component for Svelte. A port of @emilkowalski's sonner.

Home Page:https://svelte-sonner.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow passing custom components with props to individual states of `toast.promise`

dit7ya opened this issue · comments

Describe the feature

Is there any way to render different custom components on different options (loading, success, error) in toast.promise?

Sorry if it diverges from the original sonner - feel free to close the issue then.