UNPKG

@theoplayer/react-native-ui

Version:

A React Native UI for @theoplayer/react-native

11 lines 434 B
import { TextTrack } from 'react-native-theoplayer'; /** * Returns a chapters track, if available. * * 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 useChaptersTrack: () => TextTrack | undefined; //# sourceMappingURL=useChaptersTrack.d.ts.map