mirror of
https://github.com/gosticks/react-table.git
synced 2026-10-07 00:06:56 +00:00
Rename disableGrouping, remove propTypes, update Readme
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
const propTypes = {}
|
||||
|
||||
export const useBlockLayout = hooks => {
|
||||
hooks.useMain.push(useMain)
|
||||
}
|
||||
@@ -9,8 +5,6 @@ export const useBlockLayout = hooks => {
|
||||
useBlockLayout.pluginName = 'useBlockLayout'
|
||||
|
||||
const useMain = instance => {
|
||||
PropTypes.checkPropTypes(propTypes, instance, 'property', 'useBlockLayout')
|
||||
|
||||
const {
|
||||
totalColumnsWidth,
|
||||
hooks: { getRowProps, getHeaderGroupProps, getHeaderProps, getCellProps },
|
||||
|
||||
Reference in New Issue
Block a user