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

cannot work with [email protected] #45

Open
myGitHubLxd opened this issue May 30, 2019 · 3 comments
Open

cannot work with [email protected] #45

myGitHubLxd opened this issue May 30, 2019 · 3 comments

Comments

@myGitHubLxd
Copy link

return new RootSiblings(<ToastContainer
{...options}
visible
>
{message}
)
but in ToastContainer, it cann't work. My react-native:0.59.8, react : 15.6.2.

@sunnylqm
Copy link
Collaborator

Need more details

@ChaseChan
Copy link

+1, my version

reac-native:0.59.5 react:16.8.3

new RootSiblings(
<View
style={{
top: 0, right: 0, bottom: 0, left: 0, backgroundColor: 'red',
}}
/>

nothing show in my android screen

@bird-xiong
Copy link

i got the answer, react-native-root-siblings should be injected early in root
in index.js

...
// root-siblings should be injected early
import 'react-native-root-siblings'
...

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

No branches or pull requests

4 participants