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

Change default toast settings #98

Closed
matheuscastroweb opened this issue Nov 30, 2020 · 1 comment · Fixed by #107
Closed

Change default toast settings #98

matheuscastroweb opened this issue Nov 30, 2020 · 1 comment · Fixed by #107
Labels
enhancement New feature or request

Comments

@matheuscastroweb
Copy link

In the topOffset parameter I needed to add getStatusBarHeight() + value to all my Toast.show to work on other devices correctly.

Adding this type of configuration to your instance would be nice.

<Toast ref={(ref) => Toast.setRef(ref)} /> on here.

From what I read the config does not satisfy this request, just to create new toasts.

@calintamas calintamas added the enhancement New feature or request label Nov 30, 2020
@calintamas
Copy link
Owner

I agree. I'll add topOffset and bottomOffset as props in the next version.
Thanks for your suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants