Last active
June 29, 2017 08:15
-
-
Save Jahans3/4397d5c2798ae5099b3300935ff3598e 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 MyComponent from '../MyComponent' | |
export default class MyContainer extends Component { | |
constructor (props) { | |
super(props) | |
this.state = { | |
// ... | |
} | |
} | |
someFunction () { | |
// ... | |
} | |
render () { | |
return ( | |
<MyComponent /> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment