mg-library 1.0.457 → 1.0.459
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocks.js +7 -2
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -452,10 +452,15 @@ export function MGCamera(props) {
|
|
452
452
|
</View>
|
453
453
|
);
|
454
454
|
return (
|
455
|
-
<View>
|
455
|
+
<View style={{ flex: 1, backgroundColor: 'red', alignItems: 'center' }}>
|
456
456
|
<Card header={cardHeader} footer={cardFooter}>
|
457
457
|
<View style={{ alignItems: 'center' }}>
|
458
|
-
<CameraView
|
458
|
+
<CameraView
|
459
|
+
style={{ width: captureWidth, height: captureHeight }}
|
460
|
+
facing={facing}
|
461
|
+
ref={(r) => {
|
462
|
+
camera = r
|
463
|
+
}}>
|
459
464
|
</CameraView>
|
460
465
|
</View>
|
461
466
|
</Card>
|