UNPKG

react-native-media-console

Version:

A media player for the react-native-video component

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 {};