Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#520·react-native-reusables

[ BUG ] AlertDialog crashes the app

Author: busyboxkittyCreated Feb 22, 2026Updated Apr 19, 2026
Labelsbugneeds minimal-repro-repo

Repro URL: https://github.com/busyboxkitty/RNR-AlertDialogue-Reproduction

bash
npx @react-native-reusables/cli@latest init -t minimal
npx @react-native-reusables/cli@latest add alert-dialog

When opening AlertDialog it crashes the app with:

Error: React.Children.only expected to receive a single React element child.

Repro steps:

  1. Add alert-dialog
  2. Use `AlertDialog
  3. Open AlertDialog

Platform:

  • Type: Browser
  • OS: Linux
  • Browser: Firefox

Source: founded-labs/react-native-reusables

View original on GitHubView discussion on GitHub