react-native-root-toast
react-native-root-toast copied to clipboard
Updating Message in Toast if message prop is updated and updating toast position on screen orientation change
- updating message in toast if message prop passed is updated.
- animation on closing toast externally
- support for screen orientation
@chitrangsinghvi there is no need to be so complicated , just do this : change the
style={[ styles.defaultStyle, position]}
to
style={[ styles.defaultStyle, position , {width: Dimensions.get('window').width}]}
and delete the width prop in styles.defaultStyle
Any idea if/when this PR could merge? would be nice to have rotation support for long lived toasts...