Skip to content

refactor: allow for customizing preferred option on web - #6

Merged
blazejkustra merged 3 commits into
mainfrom
fix/is-preferred-on-web
Jan 13, 2026
Merged

refactor: allow for customizing preferred option on web#6
blazejkustra merged 3 commits into
mainfrom
fix/is-preferred-on-web

Conversation

@blazejkustra

@blazejkustra blazejkustra commented Dec 2, 2025

Copy link
Copy Markdown
Owner

fixes #4

@keeandev

keeandev commented Dec 4, 2025

Copy link
Copy Markdown

@blazejkustra thank you putting this together. May God bless your work!

I was thinking it might be easier to just have cancel take the secondary style? does that make sense?

@blazejkustra

Copy link
Copy Markdown
Owner Author

I was thinking it might be easier to just have cancel take the secondary style? does that make sense?

It may be easier, but I want to keep the API as close to RN's Alert implementation 😄 That's why I chose isPreferred, cause it how it works on ios

@blazejkustra
blazejkustra merged commit 35d834a into main Jan 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow first dialog action to use secondary style instead of always primary

2 participants