UNPKG

react-native-video-zoom-control

Version:

A video player overlay for React Native Video that supports pinch-to-zoom and multiple video renditions.

18 lines (17 loc) 764 B
import React from 'react'; import { TouchableHighlight } from 'react-native'; import type { VideoAnimations } from '../../types'; export declare const playPauseRef: React.RefObject<TouchableHighlight>; interface PlayPauseProps { animations: VideoAnimations; disablePlayPause: boolean; disableSeekButtons: boolean; paused: boolean; togglePlayPause: () => void; resetControlTimeout: () => void; showControls: boolean; onPressForward: () => void; onPressRewind: () => void; } export declare const PlayPause: ({ animations: { AnimatedView, ...animations }, disablePlayPause, disableSeekButtons, paused, togglePlayPause, resetControlTimeout, showControls, onPressForward, onPressRewind, }: PlayPauseProps) => JSX.Element; export {};