@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
21 lines (20 loc) • 861 B
TypeScript
/// <reference types="hoist-non-react-statics" />
import * as React from 'react';
interface IScaleProps {
value?: number[];
onChange?: (value: number[]) => void;
getPopupContainer?: () => HTMLElement;
[key: string]: any;
}
interface IScaleState {
selectorValue: string;
}
export declare class ScreenScale extends React.Component<IScaleProps, IScaleState> {
constructor(props: IScaleProps);
handleSelectorChange(value: string): void;
handleInputWidthChange(res: number): void;
handleInputHeightChange(res: number): void;
render(): React.JSX.Element;
}
declare const _default: React.ComponentClass<IScaleProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IScaleProps, any> & typeof ScreenScale) | (React.FunctionComponent<IScaleProps> & typeof ScreenScale), {}>;
export default _default;