UNPKG
@reservoir0x/relay-kit-ui
Version:
canary (0.0.0-canary-20250814020954)
latest (2.17.2)
2.17.2
2.17.1
2.17.0
2.16.2
2.16.1
2.16.0
2.15.11
2.15.10
2.15.9
2.15.8
2.15.7
2.15.6
2.15.5
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.0
2.13.3
2.13.2
2.13.1
2.13.0
2.12.0
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.12
2.10.11
2.10.10
2.10.9
2.10.8
2.10.7
2.10.6
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.14
2.9.13
2.9.12
2.9.11
2.9.10
2.9.9
2.9.8
2.9.7
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.0
2.7.19
2.7.18
2.7.17
2.7.16
2.7.15
2.7.14
2.7.13
2.7.12
2.7.11
2.7.10
2.7.9
2.7.8
2.7.7
2.7.6
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.11
2.6.10
2.6.9
2.6.8
2.6.7
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.6
2.5.5
2.5.4
2.5.2
2.5.1
2.5.0
2.4.0
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.28
2.2.27
2.2.26
2.2.25
2.2.24
2.2.23
2.2.22
2.2.21
2.2.20
2.2.19
2.2.18
2.2.17
2.2.16
2.2.15
2.2.14
2.2.13
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.9
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.8
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.4.1
1.4.0
1.3.20
1.3.19
1.3.18
1.3.17
1.3.16
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.0-canary-20250814020954
0.0.0-canary-20250813132716
Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.
@reservoir0x/relay-kit-ui
/
_types
/
src
/
hooks
/
useFallbackState.d.ts
5 lines
•
294 B
TypeScript
View Raw
1
2
3
4
5
import
{
type
Dispatch
,
type
SetStateAction
}
from
'react'
;
type
useStateType<S> = [S,
Dispatch
<
SetStateAction
<S>>];
declare
const
useFallbackState
: <T>
(
defaultValue
: T,
state
?: useStateType<T>
) =>
useStateType<T>;
export
default
useFallbackState;
//# sourceMappingURL=useFallbackState.d.ts.map