I want to add logout button to the bottom of the drawer navigation in my RN app.
I am trying to use contentComponent the following way:
contentComponent
You can set position:'absolute' and buttom:0 like this code:
position:'absolute'
buttom:0
{this.logout()}} style={{ bottom: 0, position: 'absolute', width: '100%' }}> Logout
You can change the style to make it like other buttons. I hope this will help you...