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

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

Open
stief510 opened this issue Jun 7, 2016 · 4 comments
Open

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

stief510 opened this issue Jun 7, 2016 · 4 comments

Comments

@stief510
Copy link

stief510 commented Jun 7, 2016

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`.
@robbiemoore
Copy link

Any suggestions for fixing this?

@Kureev
Copy link
Owner

Kureev commented Dec 14, 2016

Can somebody adjust PropTypes and compose a PR?

@csumrell
Copy link

csumrell commented Oct 4, 2017

still getting this warning

@Aidurber
Copy link

Aidurber commented Dec 9, 2017

@Kureev Are you saying it should support object PropType?

@csumrell What are you passing to title to make it fail prop validation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants