@ohos-ports/react-native-navigation 8.9.0-beta.3 → 8.9.0-beta.4
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/package.json
CHANGED
|
@@ -37,7 +37,7 @@ const rn = require('@ohos-ports/react-native');
|
|
|
37
37
|
function safeGet(o,k){try{return o[k]}catch(e){return undefined}}
|
|
38
38
|
const _D=rn.Dimensions;
|
|
39
39
|
export const Dimensions={get(n){try{const v=_D.get(n);if(v)return v}catch(e){}return{width:375,height:812,scale:1,fontScale:1}},addEventListener:_D?.addEventListener?.bind(_D),removeEventListener:_D?.removeEventListener?.bind(_D),set:_D?.set?.bind(_D)};
|
|
40
|
-
export const AppRegistry=rn.AppRegistry;
|
|
40
|
+
export const AppRegistry=rn.AppRegistry;
|
|
41
41
|
export const DynamicColorIOS=rn.DynamicColorIOS;export const Image=rn.Image;export const Linking=rn.Linking;
|
|
42
42
|
export const NativeEventEmitter=rn.NativeEventEmitter;export const NativeModules=rn.NativeModules;
|
|
43
43
|
export const Platform=rn.Platform;export const StyleSheet=rn.StyleSheet;
|