react-native-reusables icon indicating copy to clipboard operation
react-native-reusables copied to clipboard

[ BUG ]

Open spylefkaditis opened this issue 6 months ago • 0 comments

I'm not sure if this is a bug, but according to https://rnr-docs.vercel.app/components/alert-dialog/

The AlertDialogAction extends the Pressable props. So I'd expect something like this to work.

          <AlertDialogAction
            onPress={handleOnPress}
            className={buttonVariants({ variant: 'destructive' })}>
            <Text>Dismiss</Text>
          </AlertDialogAction>

However the onPress is never called unless I add the asChild prop. Is this a misunderstanding on my part or is it a bug?

spylefkaditis avatar May 24 '25 19:05 spylefkaditis