UNPKG
react-defold
Version:
latest (0.1.12)
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
Defold component for react
github.com/thejustinwalsh/react-defold
thejustinwalsh/react-defold
react-defold
/
dist
/
hooks
/
useEmbedScript.d.ts
7 lines
(6 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
React
from
"react"
;
export
declare
function
useEmbedScript
(
script
:
string
,
ref
?:
React
.
MutableRefObject
<
null
>,
external
?:
boolean
,
timeout
?:
number
): {
loading
:
boolean
;
error
:
boolean
;
complete
:
boolean
; };