UNPKG
@devcycle/react-client-sdk
Version:
latest (1.45.7)
1.45.7
1.45.6
1.45.5
1.45.4
1.45.3
1.45.1
1.45.0
1.44.0
1.43.2
1.43.1
1.43.0
1.42.0
1.41.0
1.40.1
1.40.0
1.39.0
1.38.0
1.37.1
1.37.0
1.36.0
1.35.0
1.34.2
1.34.1
1.34.0
1.33.2
1.33.1
1.33.0
1.32.0
1.31.0
1.30.2
1.30.1
1.30.0
1.29.3
1.29.2
1.29.1
1.29.0
1.28.0
1.27.3
1.27.2
1.27.1
1.27.0
1.26.7
1.26.6
1.26.5
1.26.4
1.26.3
1.26.2
1.26.1
1.26.0
1.25.2
1.25.1
1.25.0
1.24.1
1.24.0
1.23.2
1.23.1
1.23.0
1.22.4
1.22.3
1.22.2
1.22.1
1.22.0
1.21.1
1.21.0
1.20.6
1.20.5
1.20.4
1.20.3
1.20.2
1.20.1
1.20.0
1.19.3
1.19.2
1.19.1
1.19.0
1.18.1
1.18.0
1.17.0
1.16.0
1.15.0
1.14.6
1.14.5
1.14.4
1.14.3
1.14.2
1.14.1
1.14.0
1.13.3
1.13.2
1.13.1
1.13.0
1.11.11
1.11.10
1.11.9
1.11.8
1.11.7
1.11.6
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
The DevCycle React SDK used for feature management.
devcycle.com
DevCycleHQ/js-sdks
@devcycle/react-client-sdk
/
src
/
useDVCVariable.d.ts
9 lines
(8 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
DVCVariable
,
DVCVariableValue
}
from
'@devcycle/js-client-sdk'
;
/** * *
@deprecated
Use the `useVariable` hook instead * */
export
declare
const
useDVCVariable
: <T
extends
DVCVariableValue
>
(
key
:
string
,
defaultValue
: T
) =>
DVCVariable
<T>;
export
default
useDVCVariable;