Created
August 1, 2018 16:01
-
-
Save GaborWnuk/ea88eafe6a54d65521e554e1065ed77b to your computer and use it in GitHub Desktop.
App.js for React Native project based on Kotlin with Promise
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
export default class App extends Component<Props> { | |
// (...) | |
render() { | |
return ( | |
<View style={styles.container}> | |
// We've added text="hello" here | |
<RNFancyViewManager text="hello" style={{ width: 160, height: 160 }} /> | |
// (...) | |
</View> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment