Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Push article
<button mode="outlined"> navigation.goBack()}
style={styles.button}
>
Go back
</button>
);
};
const CompatStack = createCompatNavigatorFactory(createStackNavigator)<
StackNavigationProp
>(
{
Article: {
screen: ArticleScreen,
params: {
author: 'Gandalf',
},
},
Album: AlbumsScreen,
},
{
mode: 'modal',
}
);