We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We using destructuring on your StyleSheet.create object you get a "Unused style detected" warning, even though the style is in use. Example:
//This gives no warning const styles = StyleSheet.create({ name: {} }); const Hello = React.createClass({ render: function() { return <Text style={styles.name}>Hello</Text>; } });
//This gives a warning const { name } = StyleSheet.create({ name: {} }); const Hello = React.createClass({ render: function() { return <Text style={name}>Hello</Text>; } });
Excepted behavior should be to pass both versions.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We using destructuring on your StyleSheet.create object you get a "Unused style detected" warning, even though the style is in use. Example:
Excepted behavior should be to pass both versions.
The text was updated successfully, but these errors were encountered: