UNPKG

@ag-grid-community/react

Version:
48 lines (47 loc) 2.43 kB
// @ag-grid-community/react v26.0.0 import { ColumnApi, GridApi, GridOptions, Module } from '@ag-grid-community/core'; import { ChangeDetectionStrategyType } from './changeDetectionService'; import { ICellEditor, ICellEditorParams, ICellRenderer, ICellRendererParams, IDate, IDateParams, IFilter, IFilterParams, IHeader, IHeaderGroup, IHeaderGroupParams, IHeaderParams, ILoadingCellRendererParams, ILoadingOverlayParams, INoRowsOverlayParams, IStatusPanel, IToolPanel, IToolPanelParams, IAfterGuiAttachedParams, IStatusPanelParams } from '@ag-grid-community/core'; export interface SharedProps extends GridOptions { reactUi?: boolean; gridOptions?: GridOptions; modules?: Module[]; containerStyle?: any; className?: string; setGridApi?: (gridApi: GridApi, columnApi: ColumnApi) => void; } export interface AgReactUiProps extends SharedProps { } export interface AgGridReactProps extends SharedProps { children?: any; rowDataChangeDetectionStrategy?: ChangeDetectionStrategyType; componentWrappingElement?: string; disableStaticMarkup?: boolean; maxComponentCreationTimeMs?: number; legacyComponentRendering?: boolean; } export interface AgReactFrameworkComponent<T> { afterGuiAttached?(params?: IAfterGuiAttachedParams): void; } export interface IHeaderGroupReactComp extends IHeaderGroup, AgReactFrameworkComponent<IHeaderGroupParams> { } export interface IHeaderReactComp extends IHeader, AgReactFrameworkComponent<IHeaderParams> { } export interface IDateReactComp extends IDate, AgReactFrameworkComponent<IDateParams> { } export interface IFilterReactComp extends IFilter, AgReactFrameworkComponent<IFilterParams> { } export interface ICellRendererReactComp extends ICellRenderer, AgReactFrameworkComponent<ICellRendererParams> { } export interface ICellEditorReactComp extends ICellEditor, AgReactFrameworkComponent<ICellEditorParams> { } export interface ILoadingCellRendererReactComp extends AgReactFrameworkComponent<ILoadingCellRendererParams> { } export interface ILoadingOverlayReactComp extends AgReactFrameworkComponent<ILoadingOverlayParams> { } export interface INoRowsOverlayReactComp extends AgReactFrameworkComponent<INoRowsOverlayParams> { } export interface IStatusPanelReactComp extends IStatusPanel, AgReactFrameworkComponent<IStatusPanelParams> { } export interface IToolPanelReactComp extends IToolPanel, AgReactFrameworkComponent<IToolPanelParams> { }