UNPKG
@ewb/reach-react
Version:
latest (0.6.29)
0.6.29
0.6.28
0.6.27
0.6.26
0.6.25
0.6.24
0.6.23
0.6.22
0.6.21
0.6.20
0.6.19
0.6.18
0.6.17
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.1
React Resource and Fetch stuff
github.com/EmilsWebbod/reach-react
EmilsWebbod/reach-react
@ewb/reach-react
/
sockets
/
useSocketEvent.d.ts
2 lines
(1 loc)
•
151 B
TypeScript
View Raw
1
2
export
declare
function
useSocketEvent
(
event
?:
string
,
fn
?: (...args:
any
[]) =>
void
):
import
(
"./SocketConnection"
).
ReachSocketConnection
<
any
> |
null
;