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
DrawerLayoutAndroid + ToolbarAndroid causes Invariant Violation: Element type is invalid #754
Comments
just curious to know, how this is related to |
@yeomann The error didn't specifically point to So I suspect the Toolbar Android component that this package is overriding isn't properly working. |
Not sure maybe it's conflitcition of name. Try importing with different name if possible |
Issue was with Expo. Apparently Expo offers the same thing through So I've switched to |
normally I am using |
So, I'm quite new to React and React Native. I wanted to create a toolbar with a hamburger menu to open a drawer, so I gathered a few snippets from multiple sources. I've analyse them and I get how they are supposed to work, but the main problem is that it doesn't work.
The error is the following:
And the only relevant stack trace in App.js is at line 38, which is where
<DrawerLayoutAndroid
is written.The text was updated successfully, but these errors were encountered: