import _ from 'underscore' import React from 'react' import './ValidationModal.css' import { Button, Modal, ListGroup, ListGroupItem } from 'react-bootstrap' class ValidationModal extends React.Component { constructor(...args) { super(...args); this.state = { showModal: false }; this.close = () => { this.setState({ showModal: false }); }; this.open = () => { this.setState({ showModal: true }); }; } renderBackdrop(props) { return
; } render() { var problems = this.props.schemaProblems var items = _.map(problems, (problem, i) => {problem} ) return (
{items}
); } } export default ValidationModal