We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eff79f6 + fbe903a commit d885abbCopy full SHA for d885abb
App.tsx
@@ -6,7 +6,7 @@
6
* https://github.com/emin93/react-native-template-typescript
7
*/
8
9
-import React from 'react';
+import React, { Component } from 'react';
10
import {
11
Platform,
12
StyleSheet,
@@ -22,7 +22,7 @@ const instructions = Platform.select({
22
});
23
24
interface Props {};
25
-export default class App extends React.Component<Props> {
+export default class App extends Component<Props> {
26
render() {
27
return (
28
<View style={styles.container}>
0 commit comments