Skip to content

Commit

Permalink
Pass the theme prop to TableRow child components
Browse files Browse the repository at this point in the history
Fixes: #1805
  • Loading branch information
ying-rao committed Mar 2, 2018
1 parent a841d2a commit 73b2594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/TableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const factory = (Checkbox, TableCell) => {
return (
<tr {...other} className={_className}>
{selectable && <TableCell className={theme.checkboxCell}>
<Checkbox checked={selected} onChange={this.handleSelect} />
<Checkbox theme={theme} checked={selected} onChange={this.handleSelect} />
</TableCell>}
{React.Children.map(children, (child, index) => {
if (!child) return null;
Expand Down

0 comments on commit 73b2594

Please sign in to comment.