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) 773 B
import React from 'react'; import { GestureResponderHandlers } from 'react-native'; import type { VideoAnimations } from '../types'; interface TopControlProps { showControls: boolean; panHandlers: GestureResponderHandlers; animations: VideoAnimations; disableBack: boolean; disableVolume: boolean; volumeFillWidth: number; volumeTrackWidth: number; volumePosition: number; onBack: () => void; resetControlTimeout: () => void; } export declare const TopControls: React.MemoExoticComponent<({ showControls, panHandlers, animations: { AnimatedView, controlsOpacity, topControl }, disableBack, disableVolume, volumeFillWidth, volumePosition, volumeTrackWidth, onBack, resetControlTimeout, }: TopControlProps) => JSX.Element>; export {};