We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c8a01e + 75d78db commit 13891a5Copy full SHA for 13891a5
2 files changed
packages/ra-ui-materialui/src/list/datatable/DataTable.stories.tsx
@@ -239,6 +239,9 @@ export const SX = () => (
239
'& .RaDataTable-rowOdd': {
240
backgroundColor: '#fee',
241
},
242
+ '& .RaDataTable-rowCell': {
243
+ color: 'red',
244
+ },
245
}}
246
>
247
<DataTable.Col source="id" />
packages/ra-ui-materialui/src/list/datatable/DataTableCell.tsx
@@ -6,6 +6,7 @@ import get from 'lodash/get';
6
import clsx from 'clsx';
7
8
import { DataTableColumnProps } from './DataTableColumn';
9
+import { DataTableClasses } from './DataTableRoot';
10
11
const PREFIX = 'RaDataTableCell';
12
@@ -55,6 +56,7 @@ export const DataTableCell = React.memo(
55
56
<TableCellStyled
57
ref={ref}
58
className={clsx(
59
+ DataTableClasses.rowCell,
60
className,
61
cellClassName,
62
`column-${source}`
0 commit comments