UNPKG
@adminium/ui
Version:
latest (2.47.0)
2.47.0
Arco Design React UI Library.
arco.adminium.xyz
adminium/arco-design
@adminium/ui
/
lib
/
Table
/
hooks
/
useExpand.d.ts
4 lines
(3 loc)
•
223 B
TypeScript
View Raw
1
2
3
4
import
{
Key
}
from
'react'
;
import
{
TableProps
,
GetRowKeyType
}
from
'../interface'
;
export
default
function
useExpand<T>(
props
:
TableProps
<T>,
flattenData
:
any
,
getRowKey
:
GetRowKeyType
<T>): [
Key
[],
(
key
:
Key
) =>
void
];