Files: c18fa66a9374d3899a43338d27c66f5d82dabd78 / app / layout / container.js
311 bytesRaw
1 | import React from 'react' |
2 | import { connect } from 'react-redux' |
3 | |
4 | class LayoutContainer extends React.Component { |
5 | render () { |
6 | const { children } = this.props |
7 | |
8 | return <div> |
9 | <span>hello world!</span> |
10 | { children } |
11 | </div> |
12 | } |
13 | } |
14 | |
15 | export default connect( |
16 | (state) => ({}) |
17 | )(LayoutContainer) |
18 |
Built with git-ssb-web