react-native -v
: react-native-cli: 2.0.1 / react-native: 0.54.0npm ls rnpm-plugin-windows
: [email protected]npm ls react-native-windows
: [email protected]node -v
: 9.9.0npm -v
:5.6.0export default class App extends Component<{}> {
render() {
return (
<View style={styles.container}>
<Text style={{backgroundColor: 'red'}}>
Hello
</Text>
</View>
);
}
}
Try to put the Text in a View and set the background color of the View.
Text background color is not currently supported on UWP - see #698 for details. Closing as dupe.
Most helpful comment
Try to put the Text in a View and set the background color of the View.