-
-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working