@jbrowse/plugin-linear-genome-view
Version:
JBrowse 2 linear genome view
8 lines (7 loc) • 364 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { stripAlpha } from '@jbrowse/core/util';
import { useTheme } from '@mui/material';
export default function SVGBackground({ width, height, shift, }) {
const theme = useTheme();
return (_jsx("rect", { width: width + shift * 2, height: height, fill: stripAlpha(theme.palette.background.default) }));
}