import { h, Component } from 'preact' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import * as liveActions from '../live/actions' class ParamGroup extends Component { render() { const props = this.props return (
{props.children}
) } } const mapStateToProps = state => ({ opt: state.live.opt, }) const mapDispatchToProps = (dispatch, ownProps) => ({ actions: bindActionCreators(liveActions, dispatch) }) export default connect(mapStateToProps, mapDispatchToProps)(ParamGroup)