{"size": 481, "ext": "js", "max_stars_repo_path": "node_modules/@react-navigation/compat/lib/module/CompatScreen.js", "max_stars_repo_name": "CGW/react-native", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/@react-navigation/compat/lib/module/CompatScreen.js", "max_issues_repo_name": "CGW/react-native", "max_issues_repo_issues_event_min_datetime": "2021-10-06T14:39:09.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T02:10:08.000Z", "max_forks_repo_path": "node_modules/@react-navigation/compat/lib/module/CompatScreen.js", "max_forks_repo_name": "CGW/react-native", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 32.0666666667, "max_line_length": 59, "alphanum_fraction": 0.7837837838}
import * as React from 'react';
import ScreenPropsContext from './ScreenPropsContext';
import useCompatNavigation from './useCompatNavigation';

function ScreenComponent(props) {
  const navigation = useCompatNavigation();
  const screenProps = React.useContext(ScreenPropsContext);
  return React.createElement(props.component, {
    navigation: navigation,
    screenProps: screenProps
  });
}

export default React.memo(ScreenComponent);
//# sourceMappingURL=CompatScreen.js.map