Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

159
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda