eiriklv / react-masonry-component

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

Pass an external masonry reference in option #137

Open clementAC opened 5 years ago

clementAC commented 5 years ago

As Masonry,Isotope and packery are almost based on the same functions(layout reloadItems,...), it may be interesting to pass a masonry,isotope or packery reference in the options and have an almost universal component =). It's just a tought I had working in making my react isotope component inspiring me of this one.

afram commented 5 years ago

That's a pretty good idea.