///
import { DataType } from 'sync-ql';
import { DataColumn } from './column.type';
export interface DataRow {
''?: string;
[key: string]: DataCellType;
}
export declare type DataCellType = DataType;
export declare type CellFactoryFunctionProps = {
value: any;
row: DataRow;
column: DataColumn;
index: number;
editting: boolean;
modified: boolean;
onChange: (value: any) => void;
onEditting: (editting: boolean) => void;
};
export declare type CellFactoryFunction = (props: CellFactoryFunctionProps) => React.ReactNode;
export declare type CellFactory = {
style?: React.CSSProperties;
align?: "left" | "center" | "right" | "justify" | "inherit";
factory?: CellFactoryFunction;
};
//# sourceMappingURL=cell.type.d.ts.map