eiriklv / react-masonry-component

A React.js component for using @desandro's Masonry
MIT License
1.44k stars 145 forks source link

how to remove an item ? #103

Closed reactwebster closed 3 years ago

reactwebster commented 6 years ago

I don't know how to remove an item ,will you please help me ?

afram commented 6 years ago

Hi @reactwebster

You remove items by updating the array of elements you pass to react-masonry-component.

Use setState or redux dispatch if you are using redux.