molstar
Version:
A comprehensive macromolecular library.
27 lines (26 loc) • 806 B
TypeScript
/**
* Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author David Sehnal <david.sehnal@gmail.com>
*/
import * as React from 'react';
import { PluginUIComponent } from '../base';
interface ImageControlsState {
showPreview: boolean;
isDisabled: boolean;
imageData?: string;
}
export declare class DownloadScreenshotControls extends PluginUIComponent<{
close: () => void;
}, ImageControlsState> {
state: ImageControlsState;
private download;
private copy;
private copyImg;
componentDidMount(): void;
componentWillUnmount(): void;
open: (e: React.ChangeEvent<HTMLInputElement>) => void;
render(): JSX.Element;
}
export {};