Using photswipe in a reactjs project
Hi guys.
I'm new in react js and previously I've used Photoswipe in a my projects written in jQuery and I liked it very much. But now I'm switching to react js and I'm a new one in the community. I've searched alot but I didn't find any clue that how can I use this library in a react js project ( I've found this project but I prefer to use core library) CanI use photoswipe in a react project? do you have any example?
thanks in advanced.
https://github.com/dromru/react-photoswipe-gallery
Maybe?
@andi34 thank you for your attention but I prefer to stick with core library. Can I just use core js library in my reactjs project?
It's only a wrapper for react to use the official PhotoSwipe if I see it right, so should be what you're looking for.
<Gallery />component ships with default PhotoSwipeUI and Layout. Such a setup is suitable for most cases. If you want more control, jump to advanced usage example.