import React, {Component} from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import { addCount } from '../lib/store' class AddCount extends Component { add = () => { this.props.addCount() } render () { const { count } = this.props return (