PlayerSource
Copy as MarkdownPlayerSource<
S> =RefObject<Player<S> |null> |Player<S> |null|undefined
Where usePlayerState reads the player: the ref given to <RupaPlayer ref> (followed when it is given another
player), or a player as it is (what useRupaPlayer returns); null or undefined for none.
Type Parameters
Section titled “Type Parameters”S extends string = string