llm-ui-objects
Version:
Interactive object components for LLM-powered writing interfaces
17 lines (16 loc) • 512 B
TypeScript
/// <reference types="react" />
export interface CellProps {
id: string;
text: string;
isActive: boolean;
isMinimized?: boolean;
isSelected?: boolean;
isHovered?: boolean;
minimizedText?: string;
tabDirection?: string;
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
onMouseEnter?: (e: React.MouseEvent<HTMLDivElement>) => void;
onMouseLeave?: (e: React.MouseEvent<HTMLDivElement>) => void;
parentCellId: string | null;
style?: React.CSSProperties;
}