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

160
Vistas
react-native-popup-menu MenuProvider typescript IntrinsicAttributes

I want to achieve drop down options in Flatlist, I have used React native popup Menu and in App.tsx I have declared the entry point as MenuProvider. I am getting this error.

Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<MenuProviderProps, any, any>> & Readonly<...> react-native-popup-menu MenuProvider typescript

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

0

The problem may be due to incorrectly resolved dependencies. If you are using react 17 try adding the following lines to your package.json:

"resolutions": {
 "@types/react": "17.0.2",
 "@types/react-dom": "17.0.2"
}

This will force dependency versions marked as "*" to resolve to the specified versions in your json and should fix the issue, or at least it worked for me. If you don't specify the "resolutions" property, dependencies marked as "*" will automatically resolve to react 18, causing the error.

Please also note that this question should be tagged as "react-native-popup-menu" too, to allow the community to track the topic.

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