Skip to content

Invariant violation: "display" is not a valid style property. #298

@marclundgren

Description

@marclundgren
var React = require('react-native');
var styleSheet = React.StyleSheet.create({
  container: {
    display: 'inline-block'
  }
};

I've used display as a propery in React projects before. Does React.native have an exception for display?

I also couldn't use borderRadius, boxShadow, textShadow, transition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions