Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit ed89e9b

Browse files
committed
fix(TableCol): missing colSpan prop in function args
1 parent a69a8ed commit ed89e9b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/Table/TableCol.react.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ function TableCol({
1414
className,
1515
children,
1616
alignContent = "",
17+
colSpan,
1718
}: Props): React.Node {
1819
const classes = cn({ [`text-${alignContent}`]: alignContent }, className);
19-
return <td className={classes} colSpan={colSpan}>{children}</td>;
20+
return (
21+
<td className={classes} colSpan={colSpan}>
22+
{children}
23+
</td>
24+
);
2025
}
2126

2227
TableCol.displayName = "Table.Col";

0 commit comments

Comments
 (0)