About
React component with the implementation of the ability to mark photos (add-in-cart, like-mark).
Based on lightgallery.js: https://sachinchoolur.github.io/lightgallery.js
Installation
npm install react-cartgallery
Usage
;;;;;; let cart = idx: "001" inCart: true price: 100 src: i01 idx: "002" inCart: false price: 250 src: i02 idx: "003" inCart: false price: 500 src: i03 <div className="demo-container"> <h1>React-cartgallery Demo</h1> <CartgalleryProvider cartGallerySettings= currency: "₠" changeCartHandler= console > cart </CartgalleryProvider> </div>;