react-native-root-siblings icon indicating copy to clipboard operation
react-native-root-siblings copied to clipboard

cannot work with [email protected]

Open myGitHubLxd opened this issue 6 years ago • 3 comments

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

myGitHubLxd avatar May 30 '19 07:05 myGitHubLxd

Need more details

sunnylqm avatar May 30 '19 09:05 sunnylqm

+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

ChaseChan avatar Jun 28 '19 14:06 ChaseChan

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'
...

bird-xiong avatar Jul 08 '19 06:07 bird-xiong