Skip to content

Conversation

@nkov
Copy link

@nkov nkov commented Jan 23, 2018

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

@ganesh-papola
Copy link

will it be merged ever ?

@lukeclifton
Copy link

Bottom left alignment would be ideal 🥺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants