Skip to content

Commit

Permalink
rename colHeaderProps in headerProps
Browse files Browse the repository at this point in the history
  • Loading branch information
gannunziata committed Jan 12, 2018
1 parent 8529620 commit 720588c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export default class Table extends PureComponent {
ariaSort = sortDirection === SortDirection.ASC ? 'ascending' : 'descending';
}

const colHeaderProps = {
const headerProps = {
id: id || undefined,
role: 'columnheader',
'aria-label': ariaLabel,
Expand All @@ -571,7 +571,7 @@ export default class Table extends PureComponent {
// and slow down performances
return (
<div
{...colHeaderProps}>
{...headerProps}>
{renderedHeader}
</div>
);
Expand Down

0 comments on commit 720588c

Please sign in to comment.