@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
19 lines (18 loc) • 823 B
TypeScript
/// <reference types="hoist-non-react-statics" />
import * as React from 'react';
import PropTypes from 'prop-types';
import { EActionDisplayMode } from '../../../../constants';
export interface IExportProps {
className?: string;
fileName?: string;
displayMode?: EActionDisplayMode;
}
export declare class Export extends React.PureComponent<IExportProps, any> {
static contextTypes: {
getDashboardCanvas: PropTypes.Requireable<(...args: any[]) => any>;
};
downloadScreenShot(): Promise<void>;
render(): React.JSX.Element;
}
declare const _default: React.ComponentClass<IExportProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IExportProps, any> & typeof Export) | (React.FunctionComponent<IExportProps> & typeof Export), {}>;
export default _default;