UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

29 lines (28 loc) 1.21 kB
import * as React from "react"; import { ChartType } from "../../../constants/visualizationTypes"; import { VisualizationObject } from "@gooddata/typings"; import { IFeatureFlags, IReferences, IVisualizationProperties } from "../../interfaces/Visualization"; import { IColorConfiguration } from "../../interfaces/Colors"; export interface IConfigurationPanelContentProps { properties?: IVisualizationProperties; references?: IReferences; propertiesMeta?: any; colors?: IColorConfiguration; locale: string; type?: ChartType; isError?: boolean; isLoading?: boolean; mdObject?: VisualizationObject.IVisualizationObjectContent; featureFlags?: IFeatureFlags; axis?: string; pushData?(data: any): void; } export default abstract class ConfigurationPanelContent extends React.PureComponent<IConfigurationPanelContentProps> { static defaultProps: IConfigurationPanelContentProps; protected supportedPropertiesList: string[]; render(): JSX.Element; protected abstract renderConfigurationPanel(): JSX.Element; protected isControlDisabled(): boolean; protected renderColorSection(): JSX.Element; protected renderLegendSection(): JSX.Element; }