rainbow-modules
rainbow-modules copied to clipboard
feat: improve ImageGallery component
requirements
- it should show a delete button when the customer hovers an image item
- it should show a ConfirmationModal when the customer clicking on the delete button
- add tests
Designs
https://zpl.io/2GZ6kWr https://zpl.io/VYe4dMM
Usage
<ImageGallery
path="/users/u123/gallery"
allowUpload
allowDelete
onSelect={() => {}}
filter={ ['id1', 'id2'] | (file, metadata) => {} }
maxResults={100}
/>