Skip to content

Commit d6253a6

Browse files
authored
docs: fix a typo in the documentation examples (#1189)
1 parent cf55cfb commit d6253a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/material-react-table-docs/components/prop-tables/tableOptions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ export const tableOptions: TableOption[] = [
10711071
linkText: 'Memoize Components Guide',
10721072
required: false,
10731073
source: 'MRT',
1074-
type: `'cell' | 'row' | 'table-body'`,
1074+
type: `'cells' | 'rows' | 'table-body'`,
10751075
},
10761076
{
10771077
tableOption: 'mergeOptions',

apps/material-react-table-docs/pages/docs/guides/memoization.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const table = useMaterialReactTable({
149149
columns,
150150
data,
151151
//memoize all cells. This value can be applied dynamically based on a certain scenario/condition if needed
152-
memoMode: 'cell', // 'cell' | 'row' | 'table-body'
152+
memoMode: 'cells', // 'cells' | 'rows' | 'table-body'
153153
});
154154
```
155155

0 commit comments

Comments
 (0)