Strata - v1.4.10
GitHub
Examples
Preparing search index...
components
GameStateProviderProps
Interface GameStateProviderProps<T>
interface
GameStateProviderProps
<
T
extends
object
>
{
children
:
ReactNode
;
config
?:
Partial
<
StoreConfig
<
T
>
>
;
initialState
?:
T
;
onChange
?:
(
event
:
StateChangeEvent
<
T
>
)
=>
void
;
store
?:
GameStoreApi
<
T
>
;
}
Type Parameters
T
extends
object
Index
Properties
children
config?
initial
State?
on
Change?
store?
Properties
children
children
:
ReactNode
Optional
config
config
?:
Partial
<
StoreConfig
<
T
>
>
Optional
initial
State
initialState
?:
T
Optional
on
Change
onChange
?:
(
event
:
StateChangeEvent
<
T
>
)
=>
void
Optional
store
store
?:
GameStoreApi
<
T
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
children
config
initial
State
on
Change
store
GitHub
Examples
Strata - v1.4.10
Loading...