react-native-video-basic-controls
Version:
Controls for the React Native <Video> component at react-native-video.
22 lines (21 loc) • 683 B
TypeScript
import { ViewStyle } from 'react-native';
import type { Props } from './MediaControls';
export declare type CustomIconStyle = {
customIconStyle: ViewStyle;
};
declare type ControlsProps = Pick<Props, 'isLoading' | 'playerState' | 'onReplay'> & {
onPause: () => void;
onSkipFor: () => void;
onSkipBack: () => void;
onBrightness: (value: number) => void;
onVolume: (value: number) => void;
customIconStyle?: CustomIconStyle;
volume: number;
brightness: number;
showSlider: boolean;
showBrightness: boolean;
showVolume: boolean;
isChild: boolean;
};
declare const Controls: (props: ControlsProps) => JSX.Element;
export { Controls };