mg-library 1.0.462 → 1.0.464
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 +19 -18
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -452,26 +452,27 @@ export function MGCamera(props) {
|
|
452
452
|
</View>
|
453
453
|
);
|
454
454
|
return (
|
455
|
-
<View style={{
|
456
|
-
<
|
455
|
+
<View style={{backgroundColor: 'green'}}>
|
456
|
+
<View style={{ flex: 1, flexDirection: 'column', justifyContent: 'flex-start', alignContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
|
457
|
+
<Text>{mgFunctionsLib.i18nString('doTakePhoto', props.language)}</Text>
|
458
|
+
</View>
|
457
459
|
</View>
|
458
460
|
)
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
</
|
471
|
-
</
|
472
|
-
</
|
473
|
-
|
474
|
-
) */
|
461
|
+
/* return (
|
462
|
+
<View style={{ flex: 1, justifyContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
|
463
|
+
<Card header={cardHeader} footer={cardFooter}>
|
464
|
+
<View style={{ alignItems: 'center' }}>
|
465
|
+
<CameraView
|
466
|
+
style={{ width: captureWidth, height: captureHeight }}
|
467
|
+
facing={facing}
|
468
|
+
ref={(r) => {
|
469
|
+
camera = r
|
470
|
+
}}>
|
471
|
+
</CameraView>
|
472
|
+
</View>
|
473
|
+
</Card>
|
474
|
+
</View>
|
475
|
+
) */
|
475
476
|
}
|
476
477
|
|
477
478
|
export function MGCameraPreview(props) {
|