react-native-video-zoom-control
Version:
A video player overlay for React Native Video that supports pinch-to-zoom and multiple video renditions.
37 lines (35 loc) • 603 B
text/typescript
import {StyleSheet} from 'react-native';
export const styles = StyleSheet.create({
container: {
alignSelf: 'stretch',
height: 28,
marginLeft: 20,
marginRight: 20,
},
track: {
backgroundColor: '#333',
height: 1,
position: 'relative',
top: 14,
width: '100%',
},
fill: {
backgroundColor: '#FFF',
height: 1,
width: '100%',
},
handle: {
position: 'absolute',
marginLeft: -7,
height: 32,
width: 32,
},
circle: {
borderRadius: 12,
position: 'relative',
top: 8,
left: -5,
height: 12,
width: 12,
},
});