@theoplayer/react-native-ui
Version:
A React Native UI for @theoplayer/react-native
10 lines • 440 B
TypeScript
/**
* Returns {@link react-native-theoplayer!THEOplayer.muted | the player's muted state}, automatically updating whenever it changes.
*
* This hook must only be used in a component mounted inside a {@link THEOplayerDefaultUi} or {@link UiContainer},
* or alternatively any other component that provides a {@link PlayerContext}.
*
* @group Hooks
*/
export declare const useMuted: () => boolean;
//# sourceMappingURL=useMuted.d.ts.map