Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmyguigs committed Jun 20, 2018
1 parent 0f28207 commit 6494617
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions react/components/Table/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ class Table extends PureComponent {
>
{indexColumn ? (
<Column
headerRenderer={() => <span className="ph4">Index</span>}
cellRenderer={({ cellData }) => <span className="ph4">{cellData}</span>}
headerRenderer={() => (
<span className="ph4">{indexColumnLabel || 'Index'}</span>
)}
cellRenderer={({ cellData }) => (
<span className="ph4">{cellData}</span>
)}
dataKey="_reactVirtualizedIndex"
label={indexColumnLabel}
width={width / 10} // 10%
Expand Down

0 comments on commit 6494617

Please sign in to comment.