mirror of
https://github.com/gosticks/react-table.git
synced 2026-06-28 17:10:01 +00:00
added undefined to the unspecific getRowProps fn to retain the param order (#1392)
This commit is contained in:
@@ -199,7 +199,7 @@ export const useTable = (props, ...plugins) => {
|
||||
mergeProps(applyPropHooks(api.hooks.getTableProps, api), userProps)
|
||||
|
||||
api.getRowProps = userProps =>
|
||||
mergeProps(applyPropHooks(api.hooks.getRowProps, api), userProps)
|
||||
mergeProps(applyPropHooks(api.hooks.getRowProps, undefined, api), userProps)
|
||||
|
||||
return api
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user