@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
24 lines (23 loc) • 932 B
TypeScript
import * as React from "react";
import { AFM, Execution } from "@gooddata/typings";
import { IntlShape } from "react-intl";
import { IMenuAggregationClickConfig } from "../../../interfaces/PivotTable";
import { IColumnTotal } from "./AggregationsMenu";
export interface IAggregationsSubMenuProps {
intl: IntlShape;
totalType: AFM.TotalType;
toggler: JSX.Element;
isMenuOpened?: boolean;
rowAttributeHeaders: Execution.IAttributeHeader[];
measureLocalIdentifiers: string[];
columnTotals: IColumnTotal[];
onAggregationSelect: (clickConfig: IMenuAggregationClickConfig) => void;
}
export default class AggregationsSubMenu extends React.Component<IAggregationsSubMenuProps> {
static defaultProps: Partial<IAggregationsSubMenuProps>;
render(): JSX.Element;
private getPreviousAttributeName;
private getAttributeName;
private getSubtotalNameTestClass;
private renderSubMenuItems;
}