Skip to content

Show warning when using an undefined style #14

Open
@Intellicode

Description

@Intellicode
const styles = StyleSheet.create({});

const Hello = React.createClass({
  render: function() {
    return <Text style={styles.name}>Hello {this.props.name}</Text>;
  }
});

Should throw a warning regarding styles.name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions