@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
21 lines (20 loc) • 711 B
TypeScript
import React from "react";
import { CellRendererParams, VirtualTableColumn } from "./VirtualTableProps";
type VirtualTableCellProps<T extends any> = {
dataKey: string;
column: VirtualTableColumn;
columns: VirtualTableColumn[];
rowData: any;
cellData: any;
rowIndex: any;
columnIndex: number;
cellRenderer: React.ComponentType<CellRendererParams<T>>;
sortableNodeRef?: (node: HTMLElement | null) => void;
sortableStyle?: React.CSSProperties;
sortableAttributes?: Record<string, any>;
isDragging?: boolean;
isDraggable?: boolean;
frozen?: boolean;
};
export declare const VirtualTableCell: React.NamedExoticComponent<VirtualTableCellProps<any>>;
export {};