UNPKG

709 BTypeScriptView Raw
1import { ICellEditor, IFilter, IStatusPanel, IToolPanel } from "ag-grid-community";
2/**
3 * Function to retrieve the React component from an instance returned by the grid.
4 * @param wrapperComponent Instance component from the grid
5 * @param callback Callback which is provided the underlying React custom component
6 */
7export declare function getInstance<TGridComponent extends IFilter | IToolPanel | ICellEditor | IStatusPanel = IFilter | IToolPanel | ICellEditor | IStatusPanel, TCustomComponent extends TGridComponent = TGridComponent>(wrapperComponent: TGridComponent, callback: (customComponent: TCustomComponent | undefined) => void): void;
8export declare function warnReactiveCustomComponents(): void;