react-native-root-toast icon indicating copy to clipboard operation
react-native-root-toast copied to clipboard

Alignment

Open nkov opened this issue 6 years ago • 2 comments

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,
})

img

nkov avatar Jan 23 '18 21:01 nkov

will it be merged ever ?

ganesh-papola avatar May 10 '19 06:05 ganesh-papola

Bottom left alignment would be ideal 🥺

lukeclifton avatar Aug 24 '23 14:08 lukeclifton