diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-26 17:10:56 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-26 17:10:56 +0200 |
| commit | 0157537cc049d4b13384b7042129a61f297f9132 (patch) | |
| tree | 58e9aab43450f0cae569a14c3e7f72f249414932 /app/client/common/param.component.js | |
| parent | 96e19464f98b868bd93b76ac842ec5b32a17cfb6 (diff) | |
pass thru if server/relay are connected
Diffstat (limited to 'app/client/common/param.component.js')
| -rw-r--r-- | app/client/common/param.component.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/client/common/param.component.js b/app/client/common/param.component.js new file mode 100644 index 0000000..e788118 --- /dev/null +++ b/app/client/common/param.component.js @@ -0,0 +1,19 @@ +import { h, Component } from 'preact' +import { connect } from 'react-redux' + +export default class Param extends Component { + constructor(props){ + super(props) + } + render() { + return ( + <div className='button param'> + <label> + <span>{this.props.title}</span> + <span>{this.props.children}</span> + </label> + </div> + ) + } +} + |
