mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Rename getHeaderRowProps to getHeaderGroupProps
This commit is contained in:
parent
d8599817ad
commit
06a6d6fcc3
@ -16,7 +16,7 @@ export const useFlexLayout = props => {
|
||||
hooks: {
|
||||
columns: columnsHooks,
|
||||
getRowProps,
|
||||
getHeaderRowProps,
|
||||
getHeaderGroupProps,
|
||||
getHeaderProps,
|
||||
getCellProps,
|
||||
},
|
||||
@ -54,7 +54,7 @@ export const useFlexLayout = props => {
|
||||
api.rowStyles = rowStyles
|
||||
|
||||
getRowProps.push(() => rowStyles)
|
||||
getHeaderRowProps.push(() => rowStyles)
|
||||
getHeaderGroupProps.push(() => rowStyles)
|
||||
|
||||
getHeaderProps.push(column => ({
|
||||
style: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user