react-native-camera-kit
Version:
Advanced native camera control with pre-defined aspect ratio, crop, etc
28 lines (27 loc) • 645 B
JavaScript
import { Dimensions } from 'react-native';
const { width, height } = Dimensions.get('window');
export default styleObject = {
cameraContainer: {
position: 'absolute',
top: 0,
left: 0,
width, height
},
// bottomButtons: {
// flex: 2,
// backgroundColor: 'transparent',
// flexDirection: 'row',
// justifyContent: 'space-between',
// padding: 10
// },
bottomButtons: {
flex: 2,
flexDirection: 'row',
justifyContent: 'space-between',
padding: 14
},
gap: {
flex: 10,
flexDirection: 'column'
},
};