UNPKG

@8man/react-native-media-console

Version:
20 lines (19 loc) 864 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; buffering: boolean; togglePlayPause: () => void; resetControlTimeout: () => void; showControls: boolean; onPressForward: () => void; onPressRewind: () => void; primaryColor: string; } export declare const PlayPause: ({ animations: { AnimatedView, ...animations }, disablePlayPause, disableSeekButtons, paused, buffering, togglePlayPause, resetControlTimeout, showControls, onPressForward, onPressRewind, primaryColor, }: PlayPauseProps) => React.JSX.Element; export {};