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