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

Warning thrown for styling with StyleSheet.create #47

Open
dayhaysoos opened this issue Jan 26, 2017 · 0 comments
Open

Warning thrown for styling with StyleSheet.create #47

dayhaysoos opened this issue Jan 26, 2017 · 0 comments

Comments

@dayhaysoos
Copy link

  propTypes: {
    activeOpacity: React.PropTypes.number,
    animationDuration: React.PropTypes.number,
    content: React.PropTypes.element.isRequired,
    easing: React.PropTypes.string,
    expanded: React.PropTypes.bool,
    header: React.PropTypes.element.isRequired,
    onPress: React.PropTypes.func,
    underlayColor: React.PropTypes.string,
    style: React.PropTypes.object
  },```

In propTypes, style is expecting a raw object instead of compiled stylesheets.

Perhaps remove that propType?
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