UNPKG

@gooddata/react-components

Version:

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

19 lines (18 loc) 715 B
import * as React from "react"; import { VisualizationObject } from "@gooddata/typings"; import { ITotalWithData } from "../../../../interfaces/Totals"; export interface IRemoveRowsProps { totalsWithData: ITotalWithData[]; lastAddedTotalType?: VisualizationObject.TotalType; onRemove?: (totalType: VisualizationObject.TotalType) => void; onLastAddedTotalRowHighlightPeriodEnd?: () => void; } export declare class RemoveRows extends React.Component<IRemoveRowsProps> { static defaultProps: Partial<IRemoveRowsProps>; private wrapperRef; constructor(props: IRemoveRowsProps); render(): JSX.Element; getWrapperRef(): HTMLElement; private setWrapperRef; private renderRow; }