UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

15 lines (14 loc) 537 B
import { lazy } from 'react'; import { ViewType } from '@jbrowse/core/pluggableElementTypes'; import { stateModelFactory } from './model'; export default function LinearGenomeViewF(pluginManager) { pluginManager.addViewType(() => { return new ViewType({ name: 'LinearGenomeView', displayName: 'Linear genome view', stateModel: stateModelFactory(pluginManager), ReactComponent: lazy(() => import('./components/LinearGenomeView')), }); }); } export * from './model';