nandorojo / burnt

Crunchy toasts for React Native. 🍞
MIT License
1.16k stars 36 forks source link

Style toast individually in web? #22

Open KenzoM opened 1 year ago

KenzoM commented 1 year ago

I know the library uses sonner under the hood for web but it seems I can't configure toast individually.

I'm able to import the library as indicated here and able to see the toast working as expected.

However, it seems this is the only accessible place where you'd add props for styling.

Is there a way to configure toasts across the application without using the global toast?

KenzoM commented 1 year ago

I don't see anywhere in the code base where I am able to utilize sonner's configuration as shown here: https://github.com/emilkowalski/sonner/tree/main#styling-for-individual-toast

nandorojo commented 10 months ago

Interesting, I'm not sure what the best way to do this would be. Maybe add a web option to burnt.toast?