react-native-root-toast
react-native-root-toast copied to clipboard
Alignment
This adds the alignment
configuration prop, taking values Toast.alignments.LEFT
, Toast.alignments.CENTER
, or Toast.alignments.RIGHT
:
import Toast from 'react-native-root-toast'
Toast.show('RIGHT', {
backgroundColor: 'green',
textColor: 'white',
position: Toast.positions.TOP,
alignment: Toast.alignments.RIGHT,
})
will it be merged ever ?
Bottom left alignment would be ideal 🥺