Rename getHeaderRowProps to getHeaderGroupProps

This commit is contained in:
tannerlinsley 2019-07-25 13:38:52 -06:00
parent d8599817ad
commit 06a6d6fcc3

View File

@ -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: {