rainbow-modules icon indicating copy to clipboard operation
rainbow-modules copied to clipboard

feat: improve ImageGallery component

Open TahimiLeonBravo opened this issue 4 years ago • 0 comments

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}
/>

TahimiLeonBravo avatar Sep 30 '20 19:09 TahimiLeonBravo