Files: 0a19ff71e90207bdc5e6b22d5470c11617f9f7b0 / app / containers / app.js
310 bytesRaw
1 | const React = require('react') |
2 | const { connect } = require('react-redux') |
3 | |
4 | class App 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 | module.exports = connect( |
16 | App, |
17 | (state) => { return {} } |
18 | ) |
19 |
Built with git-ssb-web