UNPKG
@sms-frontend/components
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
SMS Design React UI Library.
@sms-frontend/components
/
es
/
TreeSelect
/
hook
/
useKeyCache.d.ts
7 lines
(6 loc)
•
235 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
TreeSelectDataType
}
from
'../interface'
;
export
declare
type
KeyCacheType
= { [
key
:
string
]:
TreeSelectDataType
; };
declare
const
useKeyCache
:
(
treeData
:
any
,
fieldNames
:
any
) =>
KeyCacheType
;
export
default
useKeyCache;