Last active
April 10, 2019 13:44
-
-
Save Sangrene/2b868a0bef277c12892102e88ba86ae5 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 from "react"; | |
import { View, TouchableOpacity } from "react-native"; | |
class MyChildComponent extends React.Component { | |
render(){ | |
} | |
} | |
class MyParentComponent extends React.Component { | |
constructor(props){ | |
super(props); | |
this.state = { | |
id: 1 | |
} | |
} | |
render(){ | |
return( | |
<View> | |
</View> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment