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 c47ae33 + 1e2e6ad commit cc6e4b6Copy full SHA for cc6e4b6
components/atom/table/src/index.js
@@ -44,14 +44,15 @@ const AtomTable = ({
44
{body.map((row, index) => (
45
<tr
46
key={index}
47
- className={
48
- (cx(`${ROW_BASE_CLASS}`, {
+ className={cx(
+ `${ROW_BASE_CLASS}`,
49
+ {
50
[`${ROW_BASE_CLASS}--actionable`]: isRowActionable,
51
[`${ROW_BASE_CLASS}--zebraStriped`]: zebraStriped
- }),
52
+ },
53
typeof rowClass === 'string' && rowClass,
- typeof rowClass === 'function' && rowClass(row, index))
54
- }
+ typeof rowClass === 'function' && rowClass(row, index)
55
+ )}
56
{...(isRowActionable && {onClick: () => handleOnRowClick(index)})}
57
>
58
{row.map((cell, index) => {
0 commit comments