Documentation
Preparing search index...
@music-ui/react
<internal>
PlayerContext
Type Alias PlayerContext
The Player context.
type
PlayerContext
=
{
currentScore
:
Score
|
null
;
player
:
Player
|
null
;
setCurrentScore
:
Dispatch
<
SetStateAction
<
Score
|
null
>
>
;
}
Index
Properties
current
Score
player
set
Current
Score
Properties
current
Score
currentScore
:
Score
|
null
The current
Score
.
player
player
:
Player
|
null
The
Player
instance.
set
Current
Score
setCurrentScore
:
Dispatch
<
SetStateAction
<
Score
|
null
>
>
The current
Score
setter.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
current
Score
player
set
Current
Score
Documentation
Loading...
The Player context.