Skip to content

Instantly share code, notes, and snippets.

@GaborWnuk
Created August 1, 2018 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GaborWnuk/ea88eafe6a54d65521e554e1065ed77b to your computer and use it in GitHub Desktop.
Save GaborWnuk/ea88eafe6a54d65521e554e1065ed77b to your computer and use it in GitHub Desktop.
App.js for React Native project based on Kotlin with Promise
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