color text react native
// Some code....
<Text
// Topic 2: Text Style
style={styles.headline}>Hi, Lunox!
</Text>
// Some code....
headline: {
color: 'white', // <-- The magic
textAlign: 'center', // <-- The magic
fontWeight: 'bold',
fontSize: 50,
backgroundColor: 'purple',
}
// Some code....
Look how I use it here:
https://github.com/Lunox-code/100dayscode-react.native/blob/master/App.js
Also in JavaScript:
- double question mark javascript
- nsenter
- on hover display block jquery
- variable javascript
- javascript radian to degree
- return value from javascript function
- javascript how to check if image exists
- gradle json simple dependency
- javascript write to file
- java script methode
- how to generate random string in javascript
- using if statements in javascript
- javascript date get day of week abbreviation
- jquery bind function to multiple events
- js require is not defined
- switch javascript
- how to get width of inline elements js
- get number of creeps screeps
- how to create array in javascript
- open google chrome in puppeteer macos
- sending value in input angular material
- js shuffle array
- How to Submit Forms and Save Data with React.js
- routes in node js