react-native-vimeo-bridge
Version:
🎥 Easy-to-use Vimeo player for React Native with cross-platform support
10 lines • 491 B
TypeScript
import VimeoPlayer from '../module/VimeoPlayer';
import type { VimeoEmbedOptions, VimeoSource } from '../types';
/**
* @param source - The source of the Vimeo video. It can be a string or an object with a `url` property.
* @param options - The options for the Vimeo player.
* @returns The Vimeo player instance.
*/
declare const useVimeoPlayer: (source: VimeoSource, options?: VimeoEmbedOptions) => VimeoPlayer;
export default useVimeoPlayer;
//# sourceMappingURL=useVimeoPlayer.d.ts.map