import React from 'react' ; import { Schema } from '../../../../../shared/schema/types' ; import { Result } from '../../../result/result' ; import { Result as ResultType } from '../../../result/types' ; export interface Props { result : ResultType ; schemaForTypeHighlights ? : Schema ; isMetaEngine : boolean ; } export const ResultView = ( { result , schemaForTypeHighlights , isMetaEngine } ) => { return ( < li > < Result result = { result } shouldLinkToDetailPage schemaForTypeHighlights = { schemaForTypeHighlights } isMetaEngine = { isMetaEngine } / > < /li>); } ;