fix: table rowselection type error

pull/2702/head
tanjinzhou 2020-09-11 16:02:14 +08:00
parent 4afb93e7fb
commit 2b422dd17b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ export const TableRowSelection = {
export const TableProps = {
prefixCls: PropTypes.string,
dropdownPrefixCls: PropTypes.string,
rowSelection: PropTypes.oneOfType([PropTypes.shape(TableRowSelection).loose, null]),
rowSelection: PropTypes.oneOfType([PropTypes.shape(TableRowSelection).loose, Object]),
pagination: PropTypes.oneOfType([
PropTypes.shape({
...PaginationProps,