UNPKG

react-native-video-player

Version:
21 lines 833 B
import type { VideoPlayerProps } from '../index'; import { type SeekbarProps } from './Seekbar'; interface ControlsProps extends Omit<SeekbarProps, 'customStyles' | 'onSeeking'> { customStyles: VideoPlayerProps['customStyles']; showDuration: VideoPlayerProps['showDuration']; disableFullscreen: VideoPlayerProps['disableFullscreen']; animationDuration: number; duration: number; isPlaying: boolean; isMuted: boolean; onPlayPress: () => void; onMutePress: () => void; onToggleFullScreen: () => void; isControlsVisible: boolean; } export interface ProgressRef { onProgress: (progress: number) => void; } export declare const Controls: import("react").ForwardRefExoticComponent<ControlsProps & import("react").RefAttributes<ProgressRef>>; export {}; //# sourceMappingURL=Controls.d.ts.map