Last active
March 17, 2017 12:21
-
-
Save gyver98/7fa2b19d0bf023200a196ff1ec26f5d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import TeslaCar from '../components/TeslaCar/TeslaCar'; | |
import { connect } from 'react-redux'; | |
const mapStateToProps = (state) => { | |
return { | |
wheelsize: state.config.wheels | |
} | |
} | |
const TeslaCarContainer = connect(mapStateToProps, null)(TeslaCar) | |
export default TeslaCarContainer; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment