Rename disableGrouping, remove propTypes, update Readme

This commit is contained in:
Tanner Linsley
2019-11-20 10:23:52 -07:00
parent 108ea1d358
commit 58028e45fc
16 changed files with 28 additions and 151 deletions
-6
View File
@@ -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 },