import React from 'react' ; import { Specimen } from '../types' ; interface Props { specimen : Specimen ; } /**
 * Viewer for specimens.
 *
 * It delegates to other specimen viewers (eg, `ReactSpecimenView`)
 */ const MultiSpecimenViewer = ( props ) => { const { specimen } = props ; const { view } = specimen ; const [ View , viewProps ] = view ; return < View { ... viewProps } / > ; } ; export default MultiSpecimenViewer ;