Skip to content

Commit 86bfb5e

Browse files
authored
fix: remove propTypes for Column.key (#222)
1 parent a11a38e commit 86bfb5e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## NEXT VERSION
44

5+
- fix: remove propTypes for Column.key
6+
57
## v1.11.2 (2020-08-18)
68

79
- fix: add missing types for propTypes of `BaseTable`

src/Column.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ export const FrozenDirection = {
2020
class Column extends React.Component {}
2121

2222
Column.propTypes = {
23-
/**
24-
* Unique key for each column
25-
*/
26-
key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
2723
/**
2824
* Class name for the column cell, could be a callback to return the class name
2925
* The callback is of the shape of `({ cellData, columns, column, columnIndex, rowData, rowIndex }) => string`

0 commit comments

Comments
 (0)