summaryrefslogtreecommitdiff
path: root/app/client/common/param.component.js
blob: b2aefd35ab17aef19d8b55029299b742eca122ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'>
        <span>{this.props.title}</span>
        <span>{this.props.children}</span>
      </div>
    )
  }
}