react-native-video-player
Version:
A <VideoPlayer /> component for React Native with controls
21 lines • 833 B
TypeScript
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