import { h, Component } from 'preact' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' class Gallery extends Component { constructor(props){ super() } render(){ const { title, images } = this.props const imageList = images.map(image => { return (
) }) return ( ) } } const mapStateToProps = state => ({ }) const mapDispatchToProps = (dispatch, ownProps) => ({ // actions: bindActionCreators(liveActions, dispatch) }) export default connect(mapStateToProps, mapDispatchToProps)(Gallery)