PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/expo/build/launch
Просмотр файла: withExpoRoot.js
import * as React from 'react';
import { attachRecoveredProps } from './RecoveryProps';
// This hook can be optionally imported because __DEV__ never changes during runtime.
// Using __DEV__ like this enables tree shaking to remove the hook in production.
let useDevKeepAwake = () => { };
if (__DEV__) {
try {
// Optionally import expo-keep-awake
const { useKeepAwake } = require('expo-keep-awake');
useDevKeepAwake = useKeepAwake;
}
catch { }
}
export default function withExpoRoot(AppRootComponent) {
return function ExpoRoot(props) {
useDevKeepAwake();
const combinedProps = attachRecoveredProps(props);
return React.createElement(AppRootComponent, { ...combinedProps });
};
}
//# sourceMappingURL=withExpoRoot.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!