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

Allow style prop to style the base component. #93

Merged
merged 3 commits into from
Nov 29, 2020

Conversation

akmjenkins
Copy link
Contributor

@akmjenkins akmjenkins commented Nov 26, 2020

Couldn't get this library to work with @react-navigation/native and react-native-screens. Not sure which library specifically caused the issue, but allowing configuration the base component's style fixed the issue - just added a zIndex 10 and it worked.

There might be a neater way to allow more configuration, like accepting a bunch of props in the base Toast component that could be passed to the Animated.View, but this seems a fine enough place to start.

Check #92, #85

@akmjenkins akmjenkins changed the title Allow baseStyle prop to style the base component. Allow style prop to style the base component. Nov 26, 2020
Copy link
Owner

@calintamas calintamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, @akmjenkins!
I'll update the docs and publish it soon

@calintamas calintamas merged commit 8e2daee into calintamas:master Nov 29, 2020
remcorakers pushed a commit to remcorakers/react-native-toast-message that referenced this pull request Mar 15, 2023
Allow style prop to style the base component.
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.

2 participants