UNPKG

@gooddata/react-components

Version:

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

33 lines (32 loc) 1.04 kB
import * as React from "react"; import { WrappedComponentProps } from "react-intl"; import { IVisualizationProperties } from "../../interfaces/Visualization"; import { IPushData } from "../../../interfaces/PushData"; export interface IDropdownItem { title?: string; value?: string | number | boolean; type?: string; icon?: string; } export interface IDropdownControlProps { valuePath: string; properties: IVisualizationProperties; labelText?: string; value?: string; items?: IDropdownItem[]; disabled?: boolean; width?: number; showDisabledMessage?: boolean; pushData(data: IPushData): void; } export declare const DROPDOWN_ALIGMENTS: { align: string; offset: { x: number; y: number; }; }[]; declare const _default: React.FunctionComponent<import("react-intl").WithIntlProps<IDropdownControlProps & WrappedComponentProps<"intl">>> & { WrappedComponent: React.ComponentType<IDropdownControlProps & WrappedComponentProps<"intl">>; }; export default _default;