• Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Precios
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

122
Vistas
TypeScript error on <Text> for native paper

A while ago all my <Text> components started giving TypeScript errors for missing attributes (onPressIn and onPressOut). Now, I would prefer not to add all these attributes with undefined values to all my <Text> components.

How do I fix this? And are these attributes suddenly required?

enter image description here

9 months ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It seems there's a typing problem with react-native-paper, you can check the issue here

Use these latest packages to remove the error based on the:

react-native-paper 4.10.1
react-native 0.66.3
@types/react-native 0.66.4

here is the link to the solution

9 months 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 empleo Precios Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.