@jbrowse/plugin-linear-genome-view
Version:
JBrowse 2 linear genome view
11 lines (10 loc) • 508 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = SVGBackground;
const jsx_runtime_1 = require("react/jsx-runtime");
const util_1 = require("@jbrowse/core/util");
const material_1 = require("@mui/material");
function SVGBackground({ width, height, shift, }) {
const theme = (0, material_1.useTheme)();
return ((0, jsx_runtime_1.jsx)("rect", { width: width + shift * 2, height: height, fill: (0, util_1.stripAlpha)(theme.palette.background.default) }));
}