import type { MouseEvent, ReactNode } from "react"; import { cn } from "@/lib/utils"; interface Props { children: ReactNode; /** * Click handler. Receives the underlying React mouse event so we can * call `e.stopPropagation()` before invoking the caller's logic — see * the JSDoc on the component for why this matters when a DrillableCell * is nested inside a row-level click handler. */ onClick: (e: MouseEvent) => void; disabled?: boolean; /** Optional aria-label; defaults to the visible text content. */ ariaLabel?: string; } /** * Wrap any clickable cell with hover-reveal affordance: * cursor: pointer + accent background tint + trailing "›" chevron, * applied via the `drillable` class on hover (see `src/index.css` * in Task 1.4). * * Renders as a ); }