UNPKG

@rcsb/rcsb-saguaro-3d

Version:
25 lines (24 loc) 1.1 kB
import * as React from "react"; import { StructureViewerInterface } from "./StructureViewerInterface"; import { StructureViewerBehaviourObserverInterface } from "./StructureViewerBehaviourInterface"; import { RcsbFvStateInterface } from "../RcsbFvState/RcsbFvStateInterface"; import { ReactNode } from "react"; export interface RcsbFvStructureConfigInterface<R, S> { loadConfig?: R | R[]; structureViewerConfig: S; } interface RcsbFvStructureAdditionalInterface<R, L, S> { componentId: string; structureViewer: StructureViewerInterface<R, L, S>; stateManager: RcsbFvStateInterface; structureViewerBehaviourObserver: StructureViewerBehaviourObserverInterface<R, L>; } export declare class RcsbFvStructure<R, L, S> extends React.Component<RcsbFvStructureConfigInterface<R, S> & RcsbFvStructureAdditionalInterface<R, L, S>, RcsbFvStructureConfigInterface<R, S>> { render(): ReactNode; componentDidMount(): Promise<void>; componentWillUnmount(): void; private updateDimensions; private static setSize; static componentId(id: string): string; } export {};