Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created December 30, 2015 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dagda1/89ee6facb57f4407e12a to your computer and use it in GitHub Desktop.
Save dagda1/89ee6facb57f4407e12a to your computer and use it in GitHub Desktop.
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