@theoplayer/react-native-ui
Version:
A React Native UI for @theoplayer/react-native
11 lines • 547 B
TypeScript
import { PresentationMode } from 'react-native-theoplayer';
/**
* Returns {@link react-native-theoplayer!THEOplayer.presentationMode | the player's presentationMode}, 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 usePresentationMode: () => PresentationMode;
//# sourceMappingURL=usePresentationMode.d.ts.map