How to center Text in Labe of DrawerItem for react-navigation?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • react-navigation

    Routing and navigation for your React Native apps

    If you take a look at the source for DrawerItem, the View wrapping the label Text component gets a marginRight: 32 style which would account for what you're seeing.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts