calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.62k stars 255 forks source link

Modify ToastType to provide intellisense for base toast types #468

Closed paoloricciuti closed 7 months ago

paoloricciuti commented 1 year ago

This is a simple typing change that provides intellisense for the basic toast types provided by the library.

With this change the user can still insert any string he wants but at the same time the editor will propose success, error and info as autocompletion

calintamas commented 7 months ago

solved in v2.1.8