nandorojo / burnt

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

Custom shadow colors/configuration options for the toast #3

Closed fobos531 closed 1 year ago

fobos531 commented 1 year ago

This is more of a feature request since I've found that the default shadow config applied by SPIndicator does not fit my use case. I don't know if SPIndicator exposes those parameters as configurable - if so, it would be nice to have the option to customize them, similar to how you can do so with regular react native View. This might be easier to do when Expo adds support for using SwiftUI views within the modules

nandorojo commented 1 year ago

It looks like SPIndicator doesn't allow this. However, toast-swift would allow it by using a custom View, which I don't know how to do but I imagine wouldn't be that hard. So it's another reason to try it (re #1).

https://github.com/BastiaanJansen/toast-swift#custom-toast-view

nandorojo commented 1 year ago

11 implements some of this