Last active
October 1, 2019 06:59
-
-
Save yamankatby/d75b982add454a2c680e2b288fe3c0dd to your computer and use it in GitHub Desktop.
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
import React, { Component } from "react"; | |
import { Text, View } from "react-native"; | |
interface Props { | |
} | |
interface State { | |
} | |
class App extends Component<Props, State> { | |
render() { | |
return ( | |
<View> | |
<Text>Hi, App Component!</Text> | |
</View> | |
); | |
} | |
} | |
export default App; |
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
import React from "react"; | |
import { Text, View } from "react-native"; | |
interface Props { | |
} | |
const App = (props: Props) => { | |
return ( | |
<View> | |
<Text>Hi, App Component!</Text> | |
</View> | |
); | |
}; | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment