@b8safe/react-native-safe
Version:
Package for native integration of B8Safe SDK
76 lines (75 loc) • 1.41 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
const {
width,
height
} = _reactNative.Dimensions.get('window');
const styles = _reactNative.StyleSheet.create({
flex1: {
flex: 1
},
padding30: {
padding: 30
},
absoluteFill: {
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
backgroundColor: 'rgba(0,0,0,0)'
},
fakeView: {
position: 'absolute',
bottom: -40,
left: 0,
width: '100%',
height: 70,
backgroundColor: 'red'
},
header: {
width: '100%',
flexDirection: 'row',
alignItems: 'center'
},
footer: {
alignItems: 'center',
paddingHorizontal: '8%',
paddingBottom: 80
},
headerTitle: {
position: 'absolute',
height: '100%',
width: '100%',
textAlign: 'center',
justifyContent: 'center',
alignItems: 'center'
},
cameraContainer: {
position: 'absolute',
top: 0,
left: 0,
width,
height
},
cameraMask: {
flex: 1,
backgroundColor: 'rgba(0,0,0,0)'
},
cameraMaskContainer: {
flex: 1,
backgroundColor: 'transparent',
alignItems: 'center'
},
connectionStatusContainer: {
position: 'absolute',
top: 120,
right: 20
}
});
var _default = exports.default = styles;
//# sourceMappingURL=styles.js.map