Declare variable when exporting CameraKitCameraScreen styleObject

This commit is contained in:
Monica He 2019-02-04 12:07:22 -08:00
parent 43e8a40cf0
commit e69798caf8
No known key found for this signature in database
GPG Key ID: B76B110FABB97218
2 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { Dimensions } from 'react-native';
const { width, height } = Dimensions.get('window');
export default styleObject = {
const styleObject = {
cameraContainer: {
position: 'absolute',
top: 0,
@ -25,4 +25,6 @@ export default styleObject = {
flex: 10,
flexDirection: 'column'
},
};
};
export default styleObject;

View File

@ -1,4 +1,4 @@
export default styleObject = {
const styleObject = {
bottomButtons: {
flex: 2,
flexDirection: 'row',
@ -12,4 +12,6 @@ export default styleObject = {
// alignItems: 'center',
// padding: 10
// }
}
};
export default styleObject;