import React from 'react' import './GraphInfoMenu.css' import PathBreadCrumb from './PathBreadCrumb' import _ from 'underscore' import ReactTable from "react-table"; import "react-table/react-table.css"; class GraphInfoMenu extends React.Component { constructor (props) { super(props) } render () { var paths = this.props.paths var callback = this.props.pathCallback var showPaths = _.isArray(paths) && !_.isEmpty(paths) var breadcrumbs = _.map(paths, (path, i) => ) return (

Paths

{breadcrumbs}
p.key ? "yes" : "", minWidth: 30 }, { id: "Index", Header: "Index", accessor: p => p.index ? "yes" : "", minWidth: 30 }, { id: "Required", Header: "Required", accessor: p => p.required ? "yes" : "", minWidth: 30 } ]} defaultPageSize={4} className="-striped -highlight" />
) } } export default GraphInfoMenu