Instantly share code, notes, and snippets.

@Jahans3 Jahans3/Container.js
Last active Jun 29, 2017

Embed
What would you like to do?
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