@react-native-harness/runtime 1.1.0-rc.4 → 1.1.0
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/dist/disableHMRWhenReady.d.ts.map +1 -1
- package/dist/disableHMRWhenReady.js +10 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/initialize.js +11 -1
- package/dist/jsx/jsx-runtime.d.ts +3 -1
- package/dist/jsx/jsx-runtime.d.ts.map +1 -1
- package/dist/jsx/jsx-runtime.js +8 -0
- package/dist/render/TestComponentOverlay.d.ts.map +1 -1
- package/dist/render/TestComponentOverlay.js +1 -2
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/ui/ReadyScreen.d.ts.map +1 -1
- package/dist/ui/ReadyScreen.js +8 -97
- package/dist/ui/RunnerScreen.d.ts +8 -0
- package/dist/ui/RunnerScreen.d.ts.map +1 -0
- package/dist/ui/RunnerScreen.js +58 -0
- package/dist/ui/WrongEnvironmentScreen.d.ts.map +1 -1
- package/dist/ui/WrongEnvironmentScreen.js +3 -77
- package/dist/ui/images.d.ts +3 -0
- package/dist/ui/images.d.ts.map +1 -0
- package/dist/ui/images.js +2 -0
- package/package.json +2 -2
- package/src/disableHMRWhenReady.test.ts +42 -0
- package/src/disableHMRWhenReady.ts +15 -7
- package/src/index.ts +1 -0
- package/src/initialize.ts +11 -5
- package/src/jsx/jsx-runtime.ts +16 -1
- package/src/react-native.d.ts +14 -0
- package/src/render/TestComponentOverlay.tsx +5 -2
- package/src/ui/ReadyScreen.tsx +10 -130
- package/src/ui/RunnerScreen.tsx +93 -0
- package/src/ui/WrongEnvironmentScreen.tsx +6 -90
- package/src/ui/images.ts +2 -0
- package/dist/NativeHarness.d.ts +0 -41
- package/dist/NativeHarness.d.ts.map +0 -1
- package/dist/NativeHarness.js +0 -2
- package/dist/constants.d.ts +0 -2
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -1
- package/dist/render/queries.d.ts +0 -7
- package/dist/render/queries.d.ts.map +0 -1
- package/dist/render/queries.js +0 -99
- package/dist/runHarnessTestsInModule.d.ts +0 -9
- package/dist/runHarnessTestsInModule.d.ts.map +0 -1
- package/dist/runHarnessTestsInModule.js +0 -57
- package/dist/screen/index.d.ts +0 -50
- package/dist/screen/index.d.ts.map +0 -1
- package/dist/screen/index.js +0 -46
- package/dist/userEvent/index.d.ts +0 -16
- package/dist/userEvent/index.d.ts.map +0 -1
- package/dist/userEvent/index.js +0 -31
- package/dist/utils/hmr.d.ts +0 -2
- package/dist/utils/hmr.d.ts.map +0 -1
- package/dist/utils/hmr.js +0 -3
- package/dist/utils/parse-error-stack.d.ts +0 -9
- package/dist/utils/parse-error-stack.d.ts.map +0 -1
- package/dist/utils/parse-error-stack.js +0 -56
- package/out-tsc/vitest/src/__tests__/collector.test.d.ts +0 -2
- package/out-tsc/vitest/src/__tests__/collector.test.d.ts.map +0 -1
- package/out-tsc/vitest/src/__tests__/error-handling.test.d.ts +0 -2
- package/out-tsc/vitest/src/__tests__/error-handling.test.d.ts.map +0 -1
- package/out-tsc/vitest/src/__tests__/expect.test.d.ts +0 -2
- package/out-tsc/vitest/src/__tests__/expect.test.d.ts.map +0 -1
- package/out-tsc/vitest/src/__tests__/initialize.test.d.ts +0 -2
- package/out-tsc/vitest/src/__tests__/initialize.test.d.ts.map +0 -1
- package/out-tsc/vitest/src/__tests__/spy.test.d.ts +0 -2
- package/out-tsc/vitest/src/__tests__/spy.test.d.ts.map +0 -1
- package/out-tsc/vitest/src/bundler/bundle.d.ts +0 -2
- package/out-tsc/vitest/src/bundler/bundle.d.ts.map +0 -1
- package/out-tsc/vitest/src/bundler/errors.d.ts +0 -15
- package/out-tsc/vitest/src/bundler/errors.d.ts.map +0 -1
- package/out-tsc/vitest/src/bundler/evaluate.d.ts +0 -2
- package/out-tsc/vitest/src/bundler/evaluate.d.ts.map +0 -1
- package/out-tsc/vitest/src/bundler/factory.d.ts +0 -3
- package/out-tsc/vitest/src/bundler/factory.d.ts.map +0 -1
- package/out-tsc/vitest/src/bundler/index.d.ts +0 -4
- package/out-tsc/vitest/src/bundler/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/bundler/types.d.ts +0 -7
- package/out-tsc/vitest/src/bundler/types.d.ts.map +0 -1
- package/out-tsc/vitest/src/client/factory.d.ts +0 -2
- package/out-tsc/vitest/src/client/factory.d.ts.map +0 -1
- package/out-tsc/vitest/src/client/getDeviceDescriptor.d.ts +0 -8
- package/out-tsc/vitest/src/client/getDeviceDescriptor.d.ts.map +0 -1
- package/out-tsc/vitest/src/client/getWSServer.d.ts +0 -2
- package/out-tsc/vitest/src/client/getWSServer.d.ts.map +0 -1
- package/out-tsc/vitest/src/client/index.d.ts +0 -2
- package/out-tsc/vitest/src/client/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/client/setup-files.d.ts +0 -12
- package/out-tsc/vitest/src/client/setup-files.d.ts.map +0 -1
- package/out-tsc/vitest/src/client/store.d.ts +0 -4
- package/out-tsc/vitest/src/client/store.d.ts.map +0 -1
- package/out-tsc/vitest/src/collector/errors.d.ts +0 -8
- package/out-tsc/vitest/src/collector/errors.d.ts.map +0 -1
- package/out-tsc/vitest/src/collector/factory.d.ts +0 -3
- package/out-tsc/vitest/src/collector/factory.d.ts.map +0 -1
- package/out-tsc/vitest/src/collector/functions.d.ts +0 -22
- package/out-tsc/vitest/src/collector/functions.d.ts.map +0 -1
- package/out-tsc/vitest/src/collector/index.d.ts +0 -5
- package/out-tsc/vitest/src/collector/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/collector/types.d.ts +0 -10
- package/out-tsc/vitest/src/collector/types.d.ts.map +0 -1
- package/out-tsc/vitest/src/collector/validation.d.ts +0 -4
- package/out-tsc/vitest/src/collector/validation.d.ts.map +0 -1
- package/out-tsc/vitest/src/constants.d.ts +0 -2
- package/out-tsc/vitest/src/constants.d.ts.map +0 -1
- package/out-tsc/vitest/src/disableHMRWhenReady.d.ts +0 -2
- package/out-tsc/vitest/src/disableHMRWhenReady.d.ts.map +0 -1
- package/out-tsc/vitest/src/entry-point.d.ts +0 -2
- package/out-tsc/vitest/src/entry-point.d.ts.map +0 -1
- package/out-tsc/vitest/src/errors.d.ts +0 -6
- package/out-tsc/vitest/src/errors.d.ts.map +0 -1
- package/out-tsc/vitest/src/expect/expect.d.ts +0 -9
- package/out-tsc/vitest/src/expect/expect.d.ts.map +0 -1
- package/out-tsc/vitest/src/expect/index.d.ts +0 -2
- package/out-tsc/vitest/src/expect/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/expect/matchers/toMatchImageSnapshot.d.ts +0 -13
- package/out-tsc/vitest/src/expect/matchers/toMatchImageSnapshot.d.ts.map +0 -1
- package/out-tsc/vitest/src/expect/setup.d.ts +0 -2
- package/out-tsc/vitest/src/expect/setup.d.ts.map +0 -1
- package/out-tsc/vitest/src/filtering/index.d.ts +0 -2
- package/out-tsc/vitest/src/filtering/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/filtering/testNameFilter.d.ts +0 -12
- package/out-tsc/vitest/src/filtering/testNameFilter.d.ts.map +0 -1
- package/out-tsc/vitest/src/globals.d.ts +0 -19
- package/out-tsc/vitest/src/globals.d.ts.map +0 -1
- package/out-tsc/vitest/src/index.d.ts +0 -11
- package/out-tsc/vitest/src/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/initialize.d.ts +0 -2
- package/out-tsc/vitest/src/initialize.d.ts.map +0 -1
- package/out-tsc/vitest/src/jest-mock.d.ts +0 -2
- package/out-tsc/vitest/src/jest-mock.d.ts.map +0 -1
- package/out-tsc/vitest/src/jsx/jsx-dev-runtime.d.ts +0 -3
- package/out-tsc/vitest/src/jsx/jsx-dev-runtime.d.ts.map +0 -1
- package/out-tsc/vitest/src/jsx/jsx-runtime.d.ts +0 -4
- package/out-tsc/vitest/src/jsx/jsx-runtime.d.ts.map +0 -1
- package/out-tsc/vitest/src/mocker/index.d.ts +0 -2
- package/out-tsc/vitest/src/mocker/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/mocker/registry.d.ts +0 -6
- package/out-tsc/vitest/src/mocker/registry.d.ts.map +0 -1
- package/out-tsc/vitest/src/mocker/types.d.ts +0 -6
- package/out-tsc/vitest/src/mocker/types.d.ts.map +0 -1
- package/out-tsc/vitest/src/namespace.d.ts +0 -18
- package/out-tsc/vitest/src/namespace.d.ts.map +0 -1
- package/out-tsc/vitest/src/polyfills.d.ts +0 -11
- package/out-tsc/vitest/src/polyfills.d.ts.map +0 -1
- package/out-tsc/vitest/src/render/ErrorBoundary.d.ts +0 -17
- package/out-tsc/vitest/src/render/ErrorBoundary.d.ts.map +0 -1
- package/out-tsc/vitest/src/render/TestComponentOverlay.d.ts +0 -3
- package/out-tsc/vitest/src/render/TestComponentOverlay.d.ts.map +0 -1
- package/out-tsc/vitest/src/render/cleanup.d.ts +0 -2
- package/out-tsc/vitest/src/render/cleanup.d.ts.map +0 -1
- package/out-tsc/vitest/src/render/index.d.ts +0 -6
- package/out-tsc/vitest/src/render/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/render/setup.d.ts +0 -2
- package/out-tsc/vitest/src/render/setup.d.ts.map +0 -1
- package/out-tsc/vitest/src/render/types.d.ts +0 -12
- package/out-tsc/vitest/src/render/types.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/context.d.ts +0 -10
- package/out-tsc/vitest/src/runner/context.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/errors.d.ts +0 -11
- package/out-tsc/vitest/src/runner/errors.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/factory.d.ts +0 -3
- package/out-tsc/vitest/src/runner/factory.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/hooks.d.ts +0 -4
- package/out-tsc/vitest/src/runner/hooks.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/index.d.ts +0 -5
- package/out-tsc/vitest/src/runner/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/runSuite.d.ts +0 -7
- package/out-tsc/vitest/src/runner/runSuite.d.ts.map +0 -1
- package/out-tsc/vitest/src/runner/types.d.ts +0 -18
- package/out-tsc/vitest/src/runner/types.d.ts.map +0 -1
- package/out-tsc/vitest/src/screen/index.d.ts +0 -8
- package/out-tsc/vitest/src/screen/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/spy/index.d.ts +0 -2
- package/out-tsc/vitest/src/spy/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/symbolicate.d.ts +0 -17
- package/out-tsc/vitest/src/symbolicate.d.ts.map +0 -1
- package/out-tsc/vitest/src/ui/ReadyScreen.d.ts +0 -2
- package/out-tsc/vitest/src/ui/ReadyScreen.d.ts.map +0 -1
- package/out-tsc/vitest/src/ui/WrongEnvironmentScreen.d.ts +0 -2
- package/out-tsc/vitest/src/ui/WrongEnvironmentScreen.d.ts.map +0 -1
- package/out-tsc/vitest/src/ui/index.d.ts +0 -2
- package/out-tsc/vitest/src/ui/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/ui/state.d.ts +0 -20
- package/out-tsc/vitest/src/ui/state.d.ts.map +0 -1
- package/out-tsc/vitest/src/userEvent/index.d.ts +0 -6
- package/out-tsc/vitest/src/userEvent/index.d.ts.map +0 -1
- package/out-tsc/vitest/src/utils/dev-server.d.ts +0 -2
- package/out-tsc/vitest/src/utils/dev-server.d.ts.map +0 -1
- package/out-tsc/vitest/src/utils/emitter.d.ts +0 -16
- package/out-tsc/vitest/src/utils/emitter.d.ts.map +0 -1
- package/out-tsc/vitest/src/waitFor.d.ts +0 -21
- package/out-tsc/vitest/src/waitFor.d.ts.map +0 -1
- package/out-tsc/vitest/tsconfig.spec.tsbuildinfo +0 -1
- package/out-tsc/vitest/vite.config.d.ts +0 -3
- package/out-tsc/vitest/vite.config.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disableHMRWhenReady.d.ts","sourceRoot":"","sources":["../src/disableHMRWhenReady.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disableHMRWhenReady.d.ts","sourceRoot":"","sources":["../src/disableHMRWhenReady.ts"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,IAAI,EACnB,WAAW,EAAE,MAAM,EACnB,UAAU,SAAK,iBAmChB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Platform } from
|
|
1
|
+
import { Platform } from 'react-native';
|
|
2
|
+
const HMR_SETUP_ERROR = 'Expected HMRClient.setup() call at startup.';
|
|
2
3
|
export function disableHMRWhenReady(disable, retriesLeft, retryDelay = 10) {
|
|
3
4
|
return new Promise((resolve, reject) => {
|
|
4
5
|
if (Platform.OS === 'web') {
|
|
@@ -12,12 +13,17 @@ export function disableHMRWhenReady(disable, retriesLeft, retryDelay = 10) {
|
|
|
12
13
|
resolve();
|
|
13
14
|
}
|
|
14
15
|
catch (error) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
error.message.includes('Expected HMRClient.setup() call at startup.')) {
|
|
16
|
+
const isMissingHMRSetupError = error instanceof Error && error.message.includes(HMR_SETUP_ERROR);
|
|
17
|
+
if (remaining > 0 && isMissingHMRSetupError) {
|
|
18
18
|
setTimeout(() => attempt(remaining - 1), retryDelay);
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
|
+
// Expo's metro runtime does not guarantee that React Native's HMRClient
|
|
22
|
+
// is initialized, so disabling HMR is best-effort in that environment.
|
|
23
|
+
if (isMissingHMRSetupError) {
|
|
24
|
+
resolve();
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
21
27
|
reject(error);
|
|
22
28
|
}
|
|
23
29
|
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AACxB,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,EAAE,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACzD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AACxB,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,EAAE,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACzD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/initialize.js
CHANGED
|
@@ -16,7 +16,17 @@ const HMRClientModule = require('react-native/Libraries/Utilities/HMRClient');
|
|
|
16
16
|
const HMRClient = 'default' in HMRClientModule ? HMRClientModule.default : HMRClientModule;
|
|
17
17
|
// Wait for HMRClient to be initialized
|
|
18
18
|
setTimeout(() => {
|
|
19
|
-
void
|
|
19
|
+
void (async () => {
|
|
20
|
+
try {
|
|
21
|
+
await disableHMRWhenReady(() => HMRClient.disable(), 50);
|
|
22
|
+
const client = await getClient();
|
|
23
|
+
const deviceDescriptor = getDeviceDescriptor();
|
|
24
|
+
await client.rpc.reportReady(deviceDescriptor);
|
|
25
|
+
}
|
|
26
|
+
catch (error) {
|
|
27
|
+
console.error('Failed to initialize React Native Harness', error);
|
|
28
|
+
}
|
|
29
|
+
})();
|
|
20
30
|
});
|
|
21
31
|
// Re-throw fatal errors
|
|
22
32
|
ErrorUtils.setGlobalHandler((error) => {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const Fragment: React.ExoticComponent<React.FragmentProps>;
|
|
2
3
|
export declare function jsx(type: React.ElementType, props: unknown, key?: React.Key): React.ReactElement;
|
|
3
4
|
export declare function jsxs(type: React.ElementType, props: unknown, key?: React.Key): React.ReactElement;
|
|
5
|
+
export declare function createElement(type: React.ElementType, props?: Record<string, unknown> | null, ...children: React.ReactNode[]): React.ReactElement;
|
|
4
6
|
//# sourceMappingURL=jsx-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../../src/jsx/jsx-runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../../src/jsx/jsx-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,eAAO,MAAM,QAAQ,4CAA2B,CAAC;AAmBjD,wBAAgB,GAAG,CACjB,IAAI,EAAE,KAAK,CAAC,WAAW,EACvB,KAAK,EAAE,OAAO,EACd,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,GACd,KAAK,CAAC,YAAY,CAEpB;AAED,wBAAgB,IAAI,CAClB,IAAI,EAAE,KAAK,CAAC,WAAW,EACvB,KAAK,EAAE,OAAO,EACd,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,GACd,KAAK,CAAC,YAAY,CAEpB;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,KAAK,CAAC,WAAW,EACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACtC,GAAG,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,GAC7B,KAAK,CAAC,YAAY,CAQpB"}
|
package/dist/jsx/jsx-runtime.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { View } from 'react-native';
|
|
2
3
|
import * as ReactJSXRuntime from 'react/jsx-runtime';
|
|
3
4
|
import { getHarnessGlobal } from '../globals.js';
|
|
@@ -17,3 +18,10 @@ export function jsx(type, props, key) {
|
|
|
17
18
|
export function jsxs(type, props, key) {
|
|
18
19
|
return wrap(type, props, key, true);
|
|
19
20
|
}
|
|
21
|
+
export function createElement(type, props, ...children) {
|
|
22
|
+
const disableViewFlattening = getHarnessGlobal().disableViewFlattening;
|
|
23
|
+
if (disableViewFlattening && type === View) {
|
|
24
|
+
props = { ...props, collapsable: false };
|
|
25
|
+
}
|
|
26
|
+
return React.createElement(type, props, ...children);
|
|
27
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestComponentOverlay.d.ts","sourceRoot":"","sources":["../../src/render/TestComponentOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAqBzC,eAAO,MAAM,oBAAoB,QAAO,KAAK,CAAC,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"TestComponentOverlay.d.ts","sourceRoot":"","sources":["../../src/render/TestComponentOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAqBzC,eAAO,MAAM,oBAAoB,QAAO,KAAK,CAAC,YAAY,GAAG,IAyC5D,CAAC"}
|
|
@@ -44,11 +44,10 @@ export const TestComponentOverlay = () => {
|
|
|
44
44
|
store.getState().setOnLayoutCallback(null);
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
return (_jsx(View, { style: styles.overlay, onLayout: handleLayout, children: _jsx(ErrorBoundary, { children: element }) }, key));
|
|
47
|
+
return (_jsx(View, { style: [StyleSheet.absoluteFill, styles.overlay], onLayout: handleLayout, children: _jsx(ErrorBoundary, { children: element }) }, key));
|
|
48
48
|
};
|
|
49
49
|
const styles = StyleSheet.create({
|
|
50
50
|
overlay: {
|
|
51
|
-
...StyleSheet.absoluteFillObject,
|
|
52
51
|
backgroundColor: '#0a1628',
|
|
53
52
|
zIndex: 1000,
|
|
54
53
|
},
|