@rcsb/rcsb-saguaro
Version:
RCSB 1D Feature Viewer
37 lines (36 loc) • 1.23 kB
TypeScript
import React from "react";
import { RcsbFvRowExtendedConfigInterface } from "../RcsbFvConfig/RcsbFvConfigInterface";
import { ReactNode } from "react";
/**Board track title cell React component interface*/
export interface RcsbFvRowTitleInterface {
readonly data: RcsbFvRowExtendedConfigInterface;
readonly rowTitleHeight: number;
readonly isGlowing: boolean;
}
interface RcsbFvRowTitleInterState {
readonly expandTitle: boolean;
}
export type RowTitleComponentType<P = {}, S = {}> = typeof React.Component<RcsbFvRowTitleInterface & P, S>;
export declare class RcsbFvRowTitle extends React.Component<RcsbFvRowTitleInterface, RcsbFvRowTitleInterState> {
private readonly configData;
readonly state: {
expandTitle: boolean;
};
private readonly PADDING_RIGHT;
constructor(props: RcsbFvRowTitleInterface);
render(): ReactNode;
/**
* @return Title string defined in the track configuration object
* */
private setTitle;
/**
* @return CSS style width and height for the cell
* */
private configStyle;
/**
* @return Title flag color css style properties
* */
private configTitleFlagColorStyle;
private expandTitle;
}
export {};