UNPKG

@rcsb/rcsb-saguaro-3d

Version:
43 lines (42 loc) 1.53 kB
import * as React from "react"; import { RcsbFvRowTitleInterface } from "@rcsb/rcsb-saguaro/lib/RcsbFv/RcsbFvRow/RcsbFvRowTitle"; import { AlignmentRequestContextType } from "@rcsb/rcsb-saguaro-app/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory"; import { TargetAlignments } from "@rcsb/rcsb-api-tools/lib/RcsbGraphQL/Types/Borrego/GqlTypes"; import { ReactNode } from "react"; import { RcsbFvStateInterface } from "../../../../../RcsbFvState/RcsbFvStateInterface"; interface MsaRowTitleInterface extends RcsbFvRowTitleInterface { alignmentContext: AlignmentRequestContextType; targetAlignment: TargetAlignments; stateManager: RcsbFvStateInterface; titleClick: () => void; } interface MsaRowTitleState { expandTitle: boolean; disabled: boolean; titleColor: string; blocked: boolean; } export declare class MsaRowTitleComponent extends React.Component<MsaRowTitleInterface, MsaRowTitleState> { private readonly configData; private subscription; private readonly INACTIVE_COLOR; private readonly ACTIVE_COLOR; readonly state: { expandTitle: boolean; disabled: boolean; titleColor: string; blocked: boolean; }; constructor(props: MsaRowTitleInterface); render(): ReactNode; componentDidMount(): void; componentWillUnmount(): void; private subscribe; private block; private modelChange; private hover; private click; private cursor; private altClick; } export {};