UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

13 lines (12 loc) 439 B
import { TrackType, createBaseTrackModel, } from '@jbrowse/core/pluggableElementTypes'; import configSchemaF from './configSchema'; export default function BasicTrackF(pm) { pm.addTrackType(() => { const configSchema = configSchemaF(pm); return new TrackType({ name: 'BasicTrack', configSchema, stateModel: createBaseTrackModel(pm, 'BasicTrack', configSchema), }); }); }