UNPKG

@gooddata/react-components

Version:

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

20 lines (19 loc) 822 B
import * as React from "react"; import { WrappedComponentProps } from "react-intl"; export interface ITableControlsProps { onMore: () => void; onLess: () => void; isMoreButtonDisabled?: boolean; isMoreButtonVisible?: boolean; isLessButtonVisible?: boolean; } export declare class TableControlsClass extends React.Component<ITableControlsProps & WrappedComponentProps> { static defaultProps: Partial<ITableControlsProps & WrappedComponentProps>; render(): JSX.Element; private getMessage; private renderMore; private renderLess; } export declare const TableControls: React.FunctionComponent<import("react-intl").WithIntlProps<ITableControlsProps & WrappedComponentProps<"intl">>> & { WrappedComponent: React.ComponentType<ITableControlsProps & WrappedComponentProps<"intl">>; };