Skip to content

Commit

Permalink
fix: Removes editable styles from expandable cells (#3044)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot authored Nov 21, 2024
1 parent 0a0874d commit 66976ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/table/body-cell/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,9 @@ export function TableBodyCell<ItemType>(props: TableBodyCellProps<ItemType>) {
}

const { column, item } = props;
return <TableTdElement {...props}>{column.cell(item)}</TableTdElement>;
return (
<TableTdElement {...props} isEditable={false}>
{column.cell(item)}
</TableTdElement>
);
}

0 comments on commit 66976ad

Please sign in to comment.