UNPKG

@rcsb/rcsb-charts

Version:
9 lines 368 B
import React, { Component } from "react"; export class UiButton extends Component { render() { return (React.createElement("div", { className: this.props.activeFlag ? "active" : "inactive", style: this.props.style, onClick: (e) => { this.props.onCLick(e); } }, this.props.children)); } } //# sourceMappingURL=UiButton.js.map