@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
23 lines (22 loc) • 1.06 kB
TypeScript
/// <reference types="hoist-non-react-statics" />
import React from 'react';
import { IChartDataset } from '@qn-pandora/app-sdk';
import MetricPanelChartStyleService from '../../../../base-pandora-visualization/services/chart-style/charts/metric-panel/metric';
import BasicComponent from '../../../Base/BasicComponent';
import { TThemeOption } from '../../../../constants';
export interface IStyleProps {
chartStyleService: MetricPanelChartStyleService;
themeOption: TThemeOption;
dataset: IChartDataset;
getPopupContainer?: () => HTMLElement;
}
export declare class StyleElement extends BasicComponent<IStyleProps, {}> {
get titleFontStyle(): {
color: any;
fontSize: any;
};
handleChange(font: any): void;
render(): React.JSX.Element;
}
declare const _default: React.ComponentClass<IStyleProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IStyleProps, any> & typeof StyleElement) | (React.FunctionComponent<IStyleProps> & typeof StyleElement), {}>;
export default _default;