@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
33 lines (32 loc) • 989 B
TypeScript
import React from "react";
import { TableSize } from "../../common/table_height";
interface EntityTableCellProps {
children: React.ReactNode;
actions?: React.ReactNode;
/**
* The value is used only to check changes and force re-renders
*/
value?: any;
disabled: boolean;
saved?: boolean;
error?: Error;
allowScroll?: boolean;
align: "right" | "left" | "center";
size: TableSize;
disabledTooltip?: string;
width: number;
showExpandIcon?: boolean;
removePadding?: boolean;
fullHeight?: boolean;
selected?: boolean;
hideOverflow?: boolean;
onSelect?: (cellRect: DOMRect | undefined) => void;
sortableNodeRef?: (node: HTMLElement | null) => void;
sortableStyle?: React.CSSProperties;
sortableAttributes?: Record<string, any>;
isDragging?: boolean;
isDraggable?: boolean;
frozen?: boolean;
}
export declare const EntityTableCell: React.FunctionComponent<EntityTableCellProps>;
export {};