one
Version:
One is a new React Framework that makes Vite serve both native and web.
13 lines (12 loc) • 500 B
JavaScript
import { StackRouter } from "@react-navigation/native";
var CustomStackRouter = function (options) {
var router = StackRouter(options),
og = router.getStateForAction.bind(router);
return router.getStateForAction = function (state, action, options2) {
var next = og(state, action, options2);
if (0 && action.type === "NAVIGATE" && next?.routes) var outRoutes, firstRoute;
return next;
}, router;
};
export { CustomStackRouter };
//# sourceMappingURL=OneStackRouter.native.js.map