Skip to content

Instantly share code, notes, and snippets.

@Jahans3
Last active June 29, 2017 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jahans3/4397d5c2798ae5099b3300935ff3598e to your computer and use it in GitHub Desktop.
Save Jahans3/4397d5c2798ae5099b3300935ff3598e to your computer and use it in GitHub Desktop.
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