1 | import * as ErrorRecovery from 'expo-error-recovery';
|
2 | import * as React from 'react';
|
3 | export default function withExpoRoot(AppRootComponent) {
|
4 | return class ExpoRootComponent extends React.Component {
|
5 | render() {
|
6 | const props = {
|
7 | ...this.props,
|
8 | exp: { ...this.props.exp, errorRecovery: ErrorRecovery.recoveredProps },
|
9 | };
|
10 | return React.createElement(AppRootComponent, Object.assign({}, props));
|
11 | }
|
12 | };
|
13 | }
|
14 | //# sourceMappingURL=withExpoRoot.web.js.map |
\ | No newline at end of file |