Practic BUI (Base UI) - v1.0.0
Preparing search index...
components/persist
PersistState
Type Alias PersistState<T>
A persisted value and a setter that behaves like React's
useState
setter.
type
PersistState
<
T
>
=
{
setValue
:
Dispatch
<
SetStateAction
<
T
>
>
;
value
:
T
;
}
Type Parameters
T
Index
Properties
set
Value
value
Properties
set
Value
setValue
:
Dispatch
<
SetStateAction
<
T
>
>
value
value
:
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
set
Value
value
Practic BUI (Base UI) - v1.0.0
Loading...
A persisted value and a setter that behaves like React's
useStatesetter.