@xylabs/sdk-react
Preparing search index...
useLocalStorage
Variable useLocalStorage
Const
useLocalStorage
:
<
T
>
(
key
:
string
,
defaultValue
:
T
)
=>
[
T
,
(
value
:
T
)
=>
void
]
Type Declaration
<
T
>
(
key
:
string
,
defaultValue
:
T
)
:
[
T
,
(
value
:
T
)
=>
void
]
Type Parameters
T
Parameters
key
:
string
defaultValue
:
T
Returns
[
T
,
(
value
:
T
)
=>
void
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@xylabs/sdk-react
Loading...