Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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