import BoxRendererType from '@jbrowse/core/pluggableElementTypes/renderers/BoxRendererType' ; import Plugin from '@jbrowse/core/Plugin' ; import PluginManager from '@jbrowse/core/PluginManager' ; import { configSchema as svgFeatureRendererConfigSchema , ReactComponent as SvgFeatureRendererReactComponent , } from './SvgFeatureRenderer' ; class SvgFeatureRenderer extends BoxRendererType { supportsSVG = true ; } export default class SVGPlugin extends Plugin { name = 'SVGPlugin' ; install ( pluginManager ) { pluginManager . addRendererType ( ( ) => new SvgFeatureRenderer ( { name : 'SvgFeatureRenderer' , ReactComponent : SvgFeatureRendererReactComponent , configSchema : svgFeatureRendererConfigSchema , pluginManager , } ) ) ; } } export { svgFeatureRendererConfigSchema , SvgFeatureRendererReactComponent } ;