UNPKG

@8man/react-native-media-console

Version:
29 lines (28 loc) 1.28 kB
import React, { Dispatch, SetStateAction } from 'react'; import { GestureResponderHandlers } from 'react-native'; import type { VideoAnimations } from '../types'; interface BottomControlsProps { showControls: boolean; animations: VideoAnimations; panHandlers: GestureResponderHandlers; disableTimer: boolean; disableSeekbar: boolean; showDuration: boolean; showHours: boolean; paused: boolean; showTimeRemaining: boolean; currentTime: number; duration: number; seekColor: string; toggleTimer: () => void; resetControlTimeout: () => void; seekerFillWidth: number; seekerPosition: number; setSeekerWidth: Dispatch<SetStateAction<number>>; isFullscreen: boolean; disableFullscreen: boolean; toggleFullscreen: () => void; cachedPosition: number; } export declare const BottomControls: ({ showControls, animations: { AnimatedView, ...animations }, panHandlers, disableSeekbar, disableTimer, duration, seekColor, showDuration, showHours, showTimeRemaining, currentTime, toggleTimer, resetControlTimeout, seekerFillWidth, seekerPosition, setSeekerWidth, isFullscreen, disableFullscreen, toggleFullscreen, cachedPosition, }: BottomControlsProps) => React.JSX.Element; export {};