Kureev / Kureev/react-native-navbar

Receiving an warning/error for props to left or right button

Open
#175 4 comments 2 reactions 0 assignees View on GitHub
help wanted waiting for feedback
Dominant language
JavaScript
Stars
1.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Whenever I try to implement the left or right buttons I am getting a warning. It still works but I would prefer the error not be there. One example of the error is

```
ExceptionsManager.js:71 Warning: Failed propType: Invalid prop `title` of type `object` supplied to `NavbarButton`, expected `string`. Check the render method of `NavigationBar`.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the warning when using the left or right buttons, then inspect the NavigationBar and NavbarButton components named in the message. Done means the buttons continue working without the invalid `title` prop warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.