Home

Published

- 1 min read

How To Hide Back Button In React/React Native Navigation

img of How To Hide Back Button In React/React Native Navigation

The solution for this is noted below

How To Hide Back Button In React/React Native Navigation

Solution

   In the options of your navigation stack screen:
Add:  headerBackVisible:false; like this:

options={{
   title: "Detail Pembayaran",
   headerTitleStyle:{
      fontWeight:'bold',
   },
   headerBackVisible:false
}}

Try other methods by searching on the site. That is if this doesn’t work