{content}
{needsTruncation && !row.original.hasChildren && (
{
e.stopPropagation();
toggleCellExpansion(cellId);
}}
>
{isCellExpanded
? "\n...collapse"
: `\n...expand (${getValueStringLength(value) - MAX_CELL_DISPLAY_CHARS} more characters)`}
)}
{/* Copy button - appears on hover */}
);
},
);
ValueCell.displayName = "ValueCell";
// Export utilities that might be needed elsewhere
export { getValueStringLength };