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

Wrong value being passed to IconToggle style prop #256

Closed
iRoachie opened this issue Dec 28, 2017 · 0 comments
Closed

Wrong value being passed to IconToggle style prop #256

iRoachie opened this issue Dec 28, 2017 · 0 comments

Comments

@iRoachie
Copy link
Contributor

Version: Latest (master branch)
React Native Version: 0.50.3

The wrong value is being passed to the style prop on IconToggle in the ListItem component https://github.com/xotahal/react-native-material-ui/blob/master/src/ListItem/ListItem.react.js#L419.

The style prop expects an object as specified:

style: PropTypes.shape({
container: ViewPropTypes.style,
icon: Text.propTypes.style,

There's two ways to fix this, either add array to the proptype definition or maybe an array is being passed in where it shouldn't be.

simulator screen shot - iphone 6 - 2017-12-28 at 11 08 25

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

1 participant