UNPKG
@aures/custom-react-table
Version:
latest (2.17.3)
2.17.3
2.17.2
2.17.1
2.17.0
2.16.9
2.16.8
2.16.7
2.16.6
2.16.5
2.16.4
2.16.3
2.16.2
2.16.1
2.16.0
2.15.6
2.15.5
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.4
2.14.3
2.14.2
2.14.1
2.13.21
2.13.19
2.13.17
2.13.16
2.13.15
2.13.14
2.13.13
2.13.12
2.13.11
2.13.10
2.13.9
2.13.8
2.13.6
2.13.4
2.13.2
2.13.1
2.12.33
2.12.32
2.12.31
2.12.29
2.12.28
2.12.27
2.12.26
2.12.25
2.12.24
2.12.22
2.12.21
2.12.19
2.12.18
2.12.17
2.12.16
2.12.15
2.12.14
2.12.13
2.12.12
2.12.11
2.12.9
2.12.8
2.12.7
2.12.6
2.12.4
2.12.3
2.12.2
2.12.1
2.12.0
2.11.27
2.11.26
2.11.25
2.11.24
2.11.23
2.11.22
2.11.21
2.11.20
2.11.19
2.11.18
2.11.17
2.11.16
2.11.15
2.11.14
2.11.13
2.11.11
2.11.10
2.11.8
2.11.7
2.11.6
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.48
2.10.47
2.10.46
2.10.45
2.10.44
2.10.43
2.10.42
2.10.41
2.10.40
2.10.38
2.10.37
2.10.35
2.10.34
2.10.33
2.10.32
2.10.31
2.10.30
2.10.29
2.10.28
2.10.26
2.10.25
2.10.24
2.10.23
2.10.22
2.10.21
2.10.20
2.10.19
2.10.18
2.10.15
2.10.14
2.10.13
2.10.12
2.10.10
2.10.9
2.10.8
2.10.7
2.10.1
2.10.0
1.0.3
1.0.1
1.0.0
dynamic table based on react table v7
github.com/aures/custum-react-table
aures/custum-react-table
@aures/custom-react-table
/
dist
/
esm
/
utils
/
getNestedId.js
4 lines
•
248 B
JavaScript
View Raw
1
2
3
4
// return nested id of object
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export
const
getNestedId
= (
fn
) =>
(o) => [
fn
(
o
), ...(
o.subRows || []
).
flatMap
(
getNestedId(
fn
)
)]
;
//# sourceMappingURL=getNestedId.js.map