UNPKG

molstar

Version:

A comprehensive macromolecular library.

27 lines (26 loc) 694 B
/** * Copyright (c) 2018 - 2019 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal <david.sehnal@gmail.com> */ /// <reference types="react" /> import { State } from '../../mol-state'; import { PluginUIComponent } from '../base'; export declare class StateTree extends PluginUIComponent<{ state: State; }, { showActions: boolean; }> { state: { showActions: boolean; }; componentDidMount(): void; static getDerivedStateFromProps(props: { state: State; }, state: { showActions: boolean; }): { showActions: boolean; } | null; render(): JSX.Element; }