react-native-video-player
Version:
A <VideoPlayer /> component for React Native with controls
26 lines (25 loc) • 712 B
JavaScript
;
import { memo } from 'react';
import { Image, StyleSheet, TouchableOpacity } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
export const Fullscreen = /*#__PURE__*/memo(({
onToggleFullScreen,
controlIconCustomStyles,
controlButtonCustomStyles
}) => {
return /*#__PURE__*/_jsx(TouchableOpacity, {
onPress: onToggleFullScreen,
style: [styles.extraControl, controlButtonCustomStyles],
children: /*#__PURE__*/_jsx(Image, {
style: controlIconCustomStyles,
source: require('../img/fullscreen.png')
})
});
});
const styles = StyleSheet.create({
extraControl: {
color: 'white',
padding: 8
}
});
//# sourceMappingURL=Fullscreen.js.map