We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1303cc commit 93062c1Copy full SHA for 93062c1
react-native/components/createStackRoutingComponent/index.tsx
@@ -98,10 +98,12 @@ export const createStackRoutingComponent = <
98
}}
99
onBack={props.onBack}
100
allowsSwiping={
101
- index > 0 && index === props.routeState.length - 1
+ index > 0 &&
102
+ index === props.routeState.length - 1 &&
103
+ routeTable[item.key].allowsSwiping
104
}
105
>
- {React.createElement(routeTable[item.key], {
106
+ {React.createElement(routeTable[item.key].component, {
107
parameters: item.parameters,
108
push: (...itemsToAdd) => {
109
props.setRouteState([...props.routeState, ...itemsToAdd]);
0 commit comments