Preparing search index...
The search index is not available
Tango LowCode Builder
Tango LowCode Builder
@music163/tango-helpers
UseControllableStateProps
Interface UseControllableStateProps<T>
interface
UseControllableStateProps
<
T
>
{
defaultValue
?:
T
|
(
(
)
=>
T
)
;
onChange
?:
(
(
value
:
T
)
=>
void
)
;
shouldUpdate
?:
(
(
prev
:
T
,
next
:
T
)
=>
boolean
)
;
value
?:
T
;
}
Type Parameters
T
Index
Properties
default
Value?
on
Change?
should
Update?
value?
Properties
Optional
default
Value
default
Value
?:
T
|
(
(
)
=>
T
)
Optional
on
Change
on
Change
?:
(
(
value
:
T
)
=>
void
)
Optional
should
Update
should
Update
?:
(
(
prev
:
T
,
next
:
T
)
=>
boolean
)
Optional
value
value
?:
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Value
on
Change
should
Update
value
Tango LowCode Builder
Loading...