UNPKG

@gooddata/react-components

Version:

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

22 lines (21 loc) 1.02 kB
import * as React from "react"; import { WrappedComponentProps } from "react-intl"; import { OnSortChangeWithDir, SortDir } from "../../../interfaces/Table"; export interface ITableSortBubbleContentProps { activeSortDir?: SortDir; onClose?: () => void; onSortChange?: OnSortChangeWithDir; title: string; } export declare class TableSortBubbleContentClass extends React.Component<ITableSortBubbleContentProps & WrappedComponentProps> { static defaultProps: Partial<ITableSortBubbleContentProps & WrappedComponentProps>; private sortAsc; private sortDesc; constructor(props: ITableSortBubbleContentProps & WrappedComponentProps); render(): JSX.Element; private renderButton; private handleSort; } export declare const TableSortBubbleContent: React.FunctionComponent<import("react-intl").WithIntlProps<ITableSortBubbleContentProps & WrappedComponentProps<"intl">>> & { WrappedComponent: React.ComponentType<ITableSortBubbleContentProps & WrappedComponentProps<"intl">>; };