Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alignment #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Alignment #58

wants to merge 3 commits into from

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