Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

112
Views
¿Cómo puedo cambiar la altura de la barra de encabezado en reaccionar nativo?

Estoy tratando de cambiar la altura de la barra de encabezado en React-Native Stack Navigator

este es mi codigo

Traté de poner headerStyle: height: '100', pero no funciona

¿Qué tengo que hacer?

 const LoginNavigator = () => { return ( <Stack.Navigator> <Stack.Screen name="Login" component={Login} options={{ title: 'MOVIEAPP', headerTransparent: true, headerTintColor: '#E70915', headerTitleStyle: { fontWeight: 'bold', }, headerStyle:{ height:100, // i tried to put height } }} /> </Stack.Navigator> ); };
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

¿Puedes actualizar el accesorio de opciones a lo siguiente y decirme si funciona?

 options={{ title: 'MOVIEAPP', headerTitleStyle: { fontWeight: 'bold', }, headerStyle:{ height:200, // i tried to put height backgroundColor: 'red' } }}
about 4 years ago · Juan Pablo Isaza Report

0

Compruebe la documentación oficial, por favor.

Documentos oficiales

Solo vemos backgroundColor aquí.

Establezca un encabezado personalizado en su lugar

 <Stack.Screen options={ header: (props) => ( <View style={{ height: 100 }}> ... </View> ), } />

Pero tienes que encontrar una manera de integrar la funcionalidad de la flecha.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!