import React from 'react'; import { Alert, Modal } from 'react-bootstrap'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as Actions from '../actions'; import Select from 'react-select'; import { Table } from 'reactable'; class VisualizeModal extends React.Component { constructor(props) { super(props); this.state = { chartType: null, }; } changeChartType(event) { this.setState({ chartType: event.target.value }); } render() { if (!(this.props.query)) { return
; } const cols = this.props.query.results.columns; const modal = (