UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
_util
/
hooks
/
useProxyImperativeHandle.d.ts
5 lines
(4 loc)
•
248 B
TypeScript
View Raw
1
2
3
4
5
import
{
type
Ref
}
from
'react'
;
export
default
function
useProxyImperativeHandle<
NativeELementType
extends
HTMLElement
,
ReturnRefType
extends
{
nativeElement
:
NativeELementType
; }>(
ref
:
Ref
<
any
> |
undefined
,
init
:
() =>
ReturnRefType
):
void
;