UNPKG

@jbrowse/core

Version:

JBrowse 2 core libraries used by plugins

14 lines (13 loc) 688 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = BaseAttributes; const jsx_runtime_1 = require("react/jsx-runtime"); const Attributes_1 = __importDefault(require("./Attributes")); const BaseCard_1 = __importDefault(require("./BaseCard")); function BaseAttributes(props) { const { title = 'Attributes', feature } = props; return ((0, jsx_runtime_1.jsx)(BaseCard_1.default, { ...props, title: title, children: (0, jsx_runtime_1.jsx)(Attributes_1.default, { ...props, attributes: feature }) })); }