Created
December 30, 2015 16:42
-
-
Save dagda1/89ee6facb57f4407e12a 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 React, {Component} from 'react'; | |
import {connect} from 'react-redux'; | |
import FunctionPlot from './function-plot'; | |
require("../../css/functions.css"); | |
function mapStateToProps(state) { | |
return { | |
expression: state.expression | |
}; | |
}; | |
class FunctionContainer extends Component { | |
render() { | |
return ( | |
<FunctionPlot/> | |
); | |
} | |
}; | |
export default connect(mapStateToProps)(FunctionContainer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment