UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

6 lines (5 loc) 462 B
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; export default function SVGRegionSeparators({ model, height, }) { const { dynamicBlocks, offsetPx, interRegionPaddingWidth } = model; return (_jsx(_Fragment, { children: dynamicBlocks.contentBlocks.slice(1).map(block => (_jsx("rect", { x: block.offsetPx - offsetPx - interRegionPaddingWidth, width: interRegionPaddingWidth, y: 0, height: height, fill: "grey" }, block.key))) })); }