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

return an error when I import NavigationBar #255

Open
DavidLeez opened this issue Sep 2, 2018 · 1 comment
Open

return an error when I import NavigationBar #255

DavidLeez opened this issue Sep 2, 2018 · 1 comment

Comments

@DavidLeez
Copy link

I have used npm installed Navigation Bar to my project
$ npm install react-native-navbar --save
After I add this line to my Home.js, it return the error as attachment
import NavigationBar from 'react-native-navigation-bar';
screen shot 2018-09-02 at 6 16 17 pm

@Arzelp
Copy link

Arzelp commented May 14, 2019

Hi,

You might be using the wrong module, we are talking about 'react-native-navbar', not 'react-native-navigation-bar'.

I think you followed an old tutorial using the 'react-native-navigation-bar', which doesn't exist anymore if I'm right.

Just change it to react-native-navbar and use npm install react-native-navbar

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

2 participants