ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
18 lines (17 loc) • 599 B
TypeScript
import type { AgPromise } from '../utils/promise';
import type { IComponent } from './iComponent';
export interface UserCompDetails<TComp extends IComponent<any> = any> {
componentClass: any;
componentFromFramework: boolean;
params: any;
type: ComponentType;
popupFromSelector?: boolean;
popupPositionFromSelector?: 'over' | 'under';
newAgStackInstance: () => AgPromise<TComp>;
}
export interface ComponentType<TComp = any> {
name: string;
cellRenderer?: boolean;
mandatoryMethods?: (keyof TComp & string)[];
optionalMethods?: (keyof TComp & string)[];
}