import React from 'react' import { getContainingView } from '@jbrowse/core/util' import YScaleBars from './components/Sidebar/YScaleBars' import type { LinearMafDisplayModel } from './stateModel' import type { ExportSvgDisplayOptions, LinearGenomeViewModel, } from '@jbrowse/plugin-linear-genome-view' export async function renderSvg( self: LinearMafDisplayModel, opts: ExportSvgDisplayOptions, superRenderSvg: (opts: ExportSvgDisplayOptions) => Promise, ) { const { height, id } = self const { offsetPx, width } = getContainingView(self) as LinearGenomeViewModel const clipid = `mafclip-${id}` return ( <> {await superRenderSvg(opts)} ) }