mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
901c24ebb8d81885043c8d236ed07e756ab81c6a
Summary: For a very simple view I was observing that the text background was black and had to manually be set to transparent. This ensures that text nodes have a transparent background by default. Closes https://github.com/facebook/react-native/pull/256 Github Author: James Ide <ide@jameside.com> Test Plan: This example component no longer renders what looks like a black block, and instead displays legible text. var Example = React.createClass({ render: function() { return ( <View style={styles.container}> <Text>hello</Text> </View> ); }, }); var styles = StyleSheet.create({ container: { flex: 1, }, };
Languages
C++
35%
Kotlin
22.3%
JavaScript
19.9%
Objective-C++
9.9%
Objective-C
4.6%
Other
8.3%