import * as React from "react"; import {RcsbFvRowConfigInterface} from "@rcsb/rcsb-saguaro"; import { RcsbFvRowTitleInterface } from "@rcsb/rcsb-saguaro/build/RcsbFv/RcsbFvRow/RcsbFvRowTitle"; interface TmRowTitleState { title: string, expandTitle: boolean; disabled: boolean; titleColor?: string; blocked:boolean; } export class TmRowTitleComponent extends React.Component { private readonly configData : RcsbFvRowConfigInterface; readonly state = { title: 'STATE TITLE', expandTitle: false, disabled: true, blocked:false }; constructor(props: any) { super(props); this.configData = (this.props as any).data; } public render(): JSX.Element{ return (
this.hover(true)} // onMouseOut={()=>this.hover(false)} >
this.click(e)} // title={this.props.targetAlignment.target_id ?? undefined} title={'TITLE'} > {this.state.title}
); } }