"use strict";

import React from 'react';
import { jsx as _jsx } from "react/jsx-runtime";
const StackScreen = ({
  navigation,
  route
}) => {
  const {
    screen: Component
  } = route.params;
  const params = {
    ...route.params,
    navigation
  };
  delete params.screen;
  return /*#__PURE__*/_jsx(Component, {
    ...params
  });
};
export default StackScreen;
//# sourceMappingURL=DialogScreen.js.map