useSimpleLayout integration

This commit is contained in:
Gary Menzel
2019-04-28 23:20:22 +09:00
parent 834ab4b4a7
commit 1a6056859a
4 changed files with 4 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -26,7 +26,7 @@ export const useRows = props => {
const row = {
original,
index: i,
path: [i],
path: [i], // used to create a key for each row even if not nested
subRows,
depth,
cells: [{}] // This is a dummy cell
+1
View File
@@ -1,6 +1,7 @@
export { useTable } from './hooks/useTable'
export { useColumns } from './hooks/useColumns'
export { useRows } from './hooks/useRows'
export { useSimpleLayout } from './hooks/useSimpleLayout'
export { useExpanded } from './hooks/useExpanded'
export { useFilters } from './hooks/useFilters'
export { useGroupBy } from './hooks/useGroupBy'