@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
23 lines (22 loc) • 820 B
TypeScript
import * as React from 'react';
import { IStatusPanelParams } from 'ag-grid-enterprise';
import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
import { AdaptableApi } from '../types';
export interface StatusPanelProps {
params: IStatusPanelParams;
adaptableApi: AdaptableApi;
context: {
Key: string;
};
}
export declare const createAgStatusPanelComponent: (component: React.FunctionComponent<StatusPanelProps>, adaptable: IAdaptable, context: StatusPanelProps['context']) => ((props: IStatusPanelParams) => React.JSX.Element) | {
new (): {
params: IStatusPanelParams;
eGui: HTMLElement;
unmountReactRoot?: VoidFunction;
init(params: IStatusPanelParams): void;
render(): void;
getGui(): HTMLElement;
destroy(): void;
};
};