expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
23 lines (21 loc) • 535 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "makePopAction", {
enumerable: true,
get: function() {
return makePopAction;
}
});
const _native = require("../../native");
function makePopAction(dispatch, stateKey) {
return (count, sourceRouteKey)=>{
dispatch({
..._native.StackActions.pop(count),
source: sourceRouteKey,
target: stateKey
});
};
}
//# sourceMappingURL=makePopAction.js.map