Skip to content

Commit

Permalink
Require key in sortabletable props
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochet2 committed Jun 4, 2019
1 parent c310ccc commit 9c2a270
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ SortableTable.propTypes = {
getRowKey: func.isRequired,
getRowProps: func,
columns: arrayOf(shape({
key: string,
key: string.isRequired,
title: oneOfType([element, string]),
headerProps: shape({}),
getRowVal: func.isRequired,
getRowVal: func,
getRowContent: func,
getCellProps: func,
cellProps: shape({}),
Expand Down

0 comments on commit 9c2a270

Please sign in to comment.