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

Commit

Permalink
fix(TableCol): missing colSpan prop in function args
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed Jul 1, 2018
1 parent a69a8ed commit ed89e9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Table/TableCol.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ function TableCol({
className,
children,
alignContent = "",
colSpan,
}: Props): React.Node {
const classes = cn({ [`text-${alignContent}`]: alignContent }, className);
return <td className={classes} colSpan={colSpan}>{children}</td>;
return (
<td className={classes} colSpan={colSpan}>
{children}
</td>
);
}

TableCol.displayName = "Table.Col";
Expand Down

0 comments on commit ed89e9b

Please sign in to comment.