react-native-navbar icon indicating copy to clipboard operation
react-native-navbar copied to clipboard

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

Open arstiefel opened this issue 9 years ago • 4 comments

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

arstiefel avatar Jun 07 '16 20:06 arstiefel

Any suggestions for fixing this?

robbiemoore avatar Dec 12 '16 18:12 robbiemoore

Can somebody adjust PropTypes and compose a PR?

Kureev avatar Dec 14 '16 11:12 Kureev

still getting this warning

csumrell avatar Oct 04 '17 21:10 csumrell

@Kureev Are you saying it should support object PropType?

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

Aidurber avatar Dec 09 '17 15:12 Aidurber