Skip to content

Commit 2b422dd

Browse files
committed
fix: table rowselection type error
1 parent 4afb93e commit 2b422dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/table/interface.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const TableRowSelection = {
9494
export const TableProps = {
9595
prefixCls: PropTypes.string,
9696
dropdownPrefixCls: PropTypes.string,
97-
rowSelection: PropTypes.oneOfType([PropTypes.shape(TableRowSelection).loose, null]),
97+
rowSelection: PropTypes.oneOfType([PropTypes.shape(TableRowSelection).loose, Object]),
9898
pagination: PropTypes.oneOfType([
9999
PropTypes.shape({
100100
...PaginationProps,

0 commit comments

Comments
 (0)