Last active
July 25, 2018 18:25
-
-
Save ratbeard/fbe2f9661830b793b08cab3e2317f58b to your computer and use it in GitHub Desktop.
Dynamic styles for react native prototype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"currentFolderName": { | |
"color": "#ff0000", | |
"fontSize": 30, | |
"textAlign": "right" | |
}, | |
"childFolder": { | |
"fontSize": 20, | |
"marginBottom": 10 | |
}, | |
"main": { | |
"flex": 1, | |
"backgroundColor": "gray" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
React.createElement( | |
View, | |
null, | |
React.createElement( | |
Text, | |
null, | |
"Hello der" | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment