mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP Make journal entries.
This commit is contained in:
@@ -44,6 +44,7 @@ export default function DataTable({
|
||||
virtualizedRows = false,
|
||||
fixedSizeHeight = 100,
|
||||
fixedItemSize = 30,
|
||||
payload,
|
||||
}) {
|
||||
const {
|
||||
getTableProps,
|
||||
@@ -78,6 +79,7 @@ export default function DataTable({
|
||||
getSubRows: row => row.children,
|
||||
manualSortBy,
|
||||
expandSubRows,
|
||||
payload,
|
||||
},
|
||||
useSortBy,
|
||||
useExpanded,
|
||||
@@ -122,7 +124,7 @@ export default function DataTable({
|
||||
// Renders table row.
|
||||
const RenderRow = useCallback(({ style = {}, row }) => {
|
||||
prepareRow(row);
|
||||
const rowClasses = rowClassNames && rowClassNames(row.original);
|
||||
const rowClasses = rowClassNames && rowClassNames(row);
|
||||
|
||||
return (
|
||||
<div {...row.getRowProps({
|
||||
|
||||
Reference in New Issue
Block a user