Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

347
Vistas
Can you change Drawer Item style without making custom drawer in react-native?

I'm using Drawer Navigator in my react-native App and I am wondering if you can change the style of the item present in Drawer screen without making cusom drawer ? Something like providing custom view style to Drawer.Screen, so it's not so basic like addding an Icon before the text

My drawer

My drawer screen component

Like adding some prop to <Drawer.Screen>

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

https://reactnavigation.org/docs/drawer-navigator/

If props style and labelStyle are good for you?

about 4 years ago · Juan Pablo Isaza Denunciar

0

You can pass these props to Drawer.Screen to personalize however you want.

For Example:

  <Draw.Screen
        name={screens.PROFILE}
        component={Profile}
        options={{
          headerTitleStyle: {fontFamily: 'Gugi-Regular'},
          drawerLabel: navLabels.PROFILE,
          drawerIcon: () => (
            <View style={styles.drawIconStyles}>
              <Icon name={icons.PERSON_ICON} size={25} tint={'#9E9E9E'} />
            </View>
          ),
          drawerItemStyle: {backgroundColor: 'red'},
        }}
      />

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda