eiriklv / react-masonry-component

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

How can I use the Masonry method `stamp`? #69

Closed mririgoyen closed 7 years ago

mririgoyen commented 7 years ago

I need to stamp certain items in my grid, but cannot determine how to use the stamp method defined in the official Masonry documentation.

Is this supported or is there a workaround which can allow this method to be utilized?

afram commented 7 years ago

Hi @goyney

You can access the masonry instance and use the stamp method.

https://github.com/eiriklv/react-masonry-component#accessing-masonry-instance

mririgoyen commented 7 years ago

I'd be interesting in seeing a working example, because utilizing the linked section of documentation does not allow the use of the stamp method.

afram commented 7 years ago

http://www.webpackbin.com/N16LfRY_f

afram commented 7 years ago

can I close this @goyney

afram commented 7 years ago

I'm closing. Please reopen if needed.

jrock17 commented 7 years ago

Can you add a working example of stamp to the docs? The Webpack above does not work. Thanks.