summaryrefslogtreecommitdiff
path: root/app/client/common/paramGroup.component.js
diff options
context:
space:
mode:
authorjules@lens <julescarbon@gmail.com>2018-05-21 03:02:35 +0200
committerjules@lens <julescarbon@gmail.com>2018-05-21 03:02:35 +0200
commit6bd402bc11a0350479e4d88dc995ab9eb5a75117 (patch)
treee3e44a12d357c201d129cbbcb639bf2224a8aaa1 /app/client/common/paramGroup.component.js
parent03566b61318fef6f3ba64334bee7e75f6b7f7c59 (diff)
parente05904f2e992ce3184952a8e569d9c28d85d68de (diff)
blash
Diffstat (limited to 'app/client/common/paramGroup.component.js')
-rw-r--r--app/client/common/paramGroup.component.js23
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)