import * as React from 'react'; import { databind, SearchBox, DetailLayout } from 'solrkit'; import { AppDataStore } from './data/AppDataStore'; import { Document } from './data/Document'; import { Dropdown } from 'semantic-ui-react'; import { get } from 'lodash'; function hrefs(links: string[]) { return links.map( (link) => (
) ); } const train1options = [ { key: 'Transom', text: 'Transom' }, { key: 'Rose', text: 'Rose' }, { key: 'Arched', text: 'Arched' } ]; const train2options = [ { key: 'Tiffany', text: 'Tiffany' }, { key: 'Meyer', text: 'Zettler' }, { key: 'Boos', text: 'Boos' }, { key: 'D\'Ascenzo', text: 'D\'Ascenzo' }, { key: 'Ballano', text: 'Ballano' } ]; class DocumentDetails extends React.Component