@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
21 lines (20 loc) • 917 B
TypeScript
/// <reference types="hoist-non-react-statics" />
import * as React from 'react';
import PropTypes from 'prop-types';
import ModalVisibleCtl from '../../../../../stores/ModalVisibleCtl';
import { ISettings } from '../../../constants';
export interface ISettingProps {
className?: string;
value?: ISettings;
onChange?: (value: ISettings) => void;
}
export declare class Setting extends React.Component<ISettingProps, any> {
static defaultSettings: ISettings;
static contextTypes: {
getModalContainer: PropTypes.Requireable<(...args: any[]) => any>;
};
modalCtl: ModalVisibleCtl;
render(): React.JSX.Element;
}
declare const _default: React.ComponentClass<ISettingProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<ISettingProps, any> & typeof Setting) | (React.FunctionComponent<ISettingProps> & typeof Setting), {}>;
export default _default;