blob: 276425ba6d66e26d2df8d684e5109f9f3b3e1818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
|