svelte-french-toast
svelte-french-toast copied to clipboard
Pass classes into toast
I'm not sure if I missed it, but it'd be great to be able to pass in classes to the toast call function, for example to use Tailwind to style it. Otherwise this is still a great library. Thanks a lot
Can be done using the below. However it then appends a custom class that overrides these classes anyway
toast.success('Group created successfully!', {
className: 'dark:bg-green-500',
duration: 50000
});