Skip to content

Commit 0d397e0

Browse files
committed
Update Docs
Fixes TanStack#80
1 parent b15f3ac commit 0d397e0

9 files changed

+72
-72
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
- [Props](#props)
4545
- [Columns](#columns)
4646
- [Column Header Groups](#column-header-groups)
47-
- [Custom Cell & Header Rendering](#custom-cell--and-header-rendering)
47+
- [Custom Cell and Header Rendering](#custom-cell-and-header-rendering)
4848
- [Styles](#styles)
4949
- [Custom Props](#custom-props)
50-
- [Pivoting & Aggregation](#pivoting--aggregation)
51-
- [Sub Tables & Sub Components](#sub-tables--sub-components)
50+
- [Pivoting and Aggregation](#pivoting-and-aggregation)
51+
- [Sub Tables and Sub Components](#sub-tables-and-sub-components)
5252
- [Server-side Data](#server-side-data)
5353
- [Fully Controlled Component](#fully-controlled-component)
5454
- [Functional Rendering](#functional-rendering)
@@ -297,7 +297,7 @@ const columns = [{
297297
}]
298298
```
299299

300-
## Custom Cell & Header Rendering
300+
## Custom Cell and Header Rendering
301301
You can use any react component or JSX to display column headers or cells. Any component you use will be passed the following props:
302302
- `row` - Original row from your data
303303
- `rowValues` - The post-accessed values from the original row
@@ -439,7 +439,7 @@ const columns = [{
439439
}]
440440
```
441441

442-
## Pivoting & Aggregation
442+
## Pivoting and Aggregation
443443
Pivoting the table will group records together based on their accessed values and allow the rows in that group to be expanded underneath it.
444444
To pivot, pass an array of `columnID`'s to `pivotBy`. Remember, a column's `id` is either the one that you assign it (when using a custom accessors) or its `accessor` string.
445445
```javascript
@@ -469,7 +469,7 @@ const columns = [{
469469

470470
Pivoted columns can be sorted just like regular columns, but not independently of each other. For instance, if you click to sort the pivot column in ascending order, it will sort by each pivot recursively in ascending order together.
471471

472-
## Sub Tables & Sub Components
472+
## Sub Tables and Sub Components
473473
By adding a `SubComponent` props, you can easily add an expansion level to all root-level rows:
474474
```javascript
475475
<ReactTable

docs/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<body>
1717
<div id="root"></div>
1818
<div id="error-display"></div>
19-
<script src="static/preview.2624d4fc5e8e37cbc8cc.bundle.js"></script>
19+
<script src="static/preview.1dfdb2ebd0085aa535c8.bundle.js"></script>
2020
</body>
2121
</html>
2222

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</head>
3939
<body style="margin: 0;">
4040
<div id="root"></div>
41-
<script src="static/manager.f127c5ae855df8d8558a.bundle.js"></script>
41+
<script src="static/manager.d3baea6e6f08c3c0279c.bundle.js"></script>
4242
</body>
4343
</html>
4444

docs/static/manager.f127c5ae855df8d8558a.bundle.js renamed to docs/static/manager.d3baea6e6f08c3c0279c.bundle.js

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/manager.f127c5ae855df8d8558a.bundle.js.map renamed to docs/static/manager.d3baea6e6f08c3c0279c.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/preview.1dfdb2ebd0085aa535c8.bundle.js

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/preview.1dfdb2ebd0085aa535c8.bundle.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/preview.2624d4fc5e8e37cbc8cc.bundle.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

docs/static/preview.2624d4fc5e8e37cbc8cc.bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)