UNPKG
xdesign-vue-next
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
XDesign Component for vue-next
xdesign-vue-next
/
lib
/
hooks
/
useTeleport.d.ts
5 lines
(4 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
5
import
{
Ref
}
from
'vue'
;
import
{
AttachNode
}
from
'../common'
;
declare
const
useTeleport
:
(
attach
: (() => AttachNode) |
Ref
<
AttachNode
>,
triggerNode
?: (() =>
any
) |
Ref
<
any
>
) =>
Ref
<
string
|
Element
>;
export
default
useTeleport;