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.63k stars 154 forks source link

Add the components preview page #132

Open a0m0rajab opened 6 months ago

a0m0rajab commented 6 months ago

Is your feature request related to a problem? Please describe. When exploring the UI library, I could not see an example demo showing how the components would work on mobile devices immediately, but it was only a video. I think having the ability to show a mobile simulator would be great.

Describe the solution you'd like You can check the React native website and see that they have a simulator embedded in the page; it would be great to have something similar. here is the code they used for that:

https://github.com/facebook/react-native-website/tree/35b61778b20044a25905b3c95c2c28be81affa13/plugins/remark-snackplayer

a0m0rajab commented 6 months ago

I thought a simple way to do this was to go to expo snacks website and add the showcase there as snack but it seems hard and the process is broken for some reasons.

When i first added this project I got an issue with the file names, when I fixed the names, snack could not understand the packages and the aliases in this project..