We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b4e88 commit 2a3234cCopy full SHA for 2a3234c
index.d.ts
@@ -118,7 +118,7 @@ export interface YoutubeIframeProps {
118
/**
119
* callback for when the player's state changes.
120
*/
121
- onChangeState?: (event: string) => void;
+ onChangeState?: (event: PLAYER_STATES) => void;
122
123
* callback for when the fullscreen option is clicked in the player. It signals the new fullscreen state of the player.
124
0 commit comments