UNPKG

@rcsb/rcsb-saguaro

Version:
9 lines (8 loc) 824 B
import { jsx as _jsx } from "react/jsx-runtime"; import React from "react"; import * as classes from "../../scss/RcsbFvRow.module.scss"; export class RcsbFvRowMark extends React.Component { render() { return (_jsx("div", { className: classes.rcsbFvRowMark, style: { display: "inline-block" }, children: _jsx("div", { children: this.props.externalRowMark ? _jsx(this.props.externalRowMark.component, Object.assign({ isGlowing: this.props.isGlowing, clickCallback: this.props.clickCallback, hoverCallback: this.props.hoverCallback }, this.props.externalRowMark.props)) : (_jsx("div", { onClick: this.props.clickCallback, onMouseOver: this.props.hoverCallback, style: { width: 6, height: 6, marginBottom: 4, marginRight: 5 }, children: _jsx("div", { className: classes.rcsbFvRowMarkComponent }) })) }) })); } }