UNPKG

react-native-video-basic-controls

Version:

Controls for the React Native <Video> component at react-native-video.

16 lines (15 loc) 656 B
import { ViewStyle } from 'react-native'; import type { Props as MediaControlsProps } from './MediaControls'; export declare type CustomSliderStyle = { containerStyle: ViewStyle; trackStyle: ViewStyle; thumbStyle: ViewStyle; }; declare type Props = Pick<MediaControlsProps, 'progress' | 'duration' | 'bufferValue' | 'mainColor' | 'bufferColor' | 'onFullScreen' | 'playerState' | 'onSeek' | 'fullScreenIconL' | 'fullScreenIconP'> & { onSeeking?: (value: number) => void; onPause: () => void; customSliderStyle?: CustomSliderStyle; isFullscreen: Boolean; }; declare const Slider: (props: Props) => JSX.Element; export { Slider };