@tanstack/react-table 8.10.0 → 8.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/index.d.ts +3 -0
- package/build/lib/index.esm.js +3 -1
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.js +3 -1
- package/build/lib/index.js.map +1 -1
- package/build/lib/index.mjs +3 -1
- package/build/lib/index.mjs.map +1 -1
- package/build/umd/index.development.js +10 -5
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/index.tsx +3 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-table",
|
|
3
3
|
"author": "Tanner Linsley",
|
|
4
|
-
"version": "8.10.
|
|
4
|
+
"version": "8.10.2",
|
|
5
5
|
"description": "Headless UI for building powerful tables & datagrids for React.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/tanstack/table#readme",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"src"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@tanstack/table-core": "8.10.
|
|
46
|
+
"@tanstack/table-core": "8.10.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=16",
|
package/src/index.tsx
CHANGED
|
@@ -12,6 +12,9 @@ export type Renderable<TProps> = React.ReactNode | React.ComponentType<TProps>
|
|
|
12
12
|
|
|
13
13
|
//
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* If rendering headers, cells, or footers with custom markup, use flexRender instead of `cell.getValue()` or `cell.renderValue()`.
|
|
17
|
+
*/
|
|
15
18
|
export function flexRender<TProps extends object>(
|
|
16
19
|
Comp: Renderable<TProps>,
|
|
17
20
|
props: TProps
|