Skip to content

Instantly share code, notes, and snippets.

@yamankatby
Last active October 1, 2019 06:59
Show Gist options
  • Save yamankatby/d75b982add454a2c680e2b288fe3c0dd to your computer and use it in GitHub Desktop.
Save yamankatby/d75b982add454a2c680e2b288fe3c0dd to your computer and use it in GitHub Desktop.
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;
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