mrzachnugent / react-native-reusables

Universal shadcn/ui for React Native featuring a focused collection of components - Crafted with NativeWind v4 and accessibility in mind.
https://rnr-docs.vercel.app
MIT License
3.88k stars 157 forks source link

Add Sonner #234

Closed kevin-kidd closed 2 months ago

kevin-kidd commented 2 months ago

Description:

Add Sonner screen using Burnt which wraps Sonner for web. For iOS, it wraps SPIndicator and AlertKit. For Android, it wraps React Native's ToastAndroid.

Tested Platforms:

Affected Apps/Packages:

Screenshots:

screenshot

Notes:

The Burnt package has not been updated in 6 months and is missing some of the newer features from Sonner. However, I have found use of Burnt alongside react-native-reusables in my project. Perhaps otherwise will find some use as well.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rnr-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 6:52am
rnr-showcase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 6:52am
kevin-kidd commented 2 months ago

Sonner and Toast are missing from the docs and CLI as well. I could open a PR for those when I get some free time this weekend.

mrzachnugent commented 2 months ago

Hey @kevin-kidd, unfortunately I cannot add this PR because this project includes only components built without third-party libraries or those that use @rn-primitives.

Here are the main reasons:

For those reasons, I have to close this PR. You can open a new PR if you would like to add burnt to the sonner section in the README.md

Thanks for taking the time to submit this PR.