import React from 'react'; import { bindActionCreators } from 'redux'; import * as actions from '../actions/exploreActions'; import { connect } from 'react-redux'; const propTypes = { actions: React.PropTypes.object, }; class SqlClause extends React.Component { changeWhere(whereClause) { this.props.actions.setWhereClause(whereClause); } changeHaving(havingClause) { this.props.actions.setHavingClause(havingClause); } render() { return (