diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 02:49:46 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 02:49:46 +0200 |
| commit | e05904f2e992ce3184952a8e569d9c28d85d68de (patch) | |
| tree | 50c4af17d282384be4cc34a0adfc6dc823fc3261 /app/client/common/paramGroup.component.js | |
| parent | 135fde231646f8f8838cdf16ddb0bc3ad2e94d3a (diff) | |
basic css for form elements
Diffstat (limited to 'app/client/common/paramGroup.component.js')
| -rw-r--r-- | app/client/common/paramGroup.component.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/client/common/paramGroup.component.js b/app/client/common/paramGroup.component.js new file mode 100644 index 0000000..276425b --- /dev/null +++ b/app/client/common/paramGroup.component.js @@ -0,0 +1,23 @@ +import { h, Component } from 'preact' +import { connect } from 'react-redux' + +function ParamGroup(props) { + return ( + <div class='paramGroup'> + <label> + <h3>{props.title}</h3> + <input type='checkbox' /> + </label> + {props.children} + </div> + ) +} + +const mapStateToProps = state => ({ + +}) + +const mapDispatchToProps = (dispatch, ownProps) => ({ +}) + +export default connect(mapStateToProps, mapDispatchToProps)(ParamGroup) |
