Closed thachp closed 8 years ago
Ideally it should be possible to forward any props to the MasonryComponent top element. It just wasn't done at the time. There's a PR for it (#7) that I'll try to merge when i have time. In the meantime you could try that one :-)
@thachp This should be fixed in 3.0.0
Do you mind please trying if it works for you by giving the 3.0.0 beta a spin?
npm install react-masonry-component@3.0.0-rc.1
This version no longer requires passing in React as an argument, you can require the component and use it straight away. More info in the Readme
@afram - Works like charms. Thank you
In the example, you have class name open to customization, would it be possible also to provide those styles as an optional dependency?
I am using bootstrap's thumbnail component, and it is not working for me at all. The functionalities are working, but the styling looks off. For example, there are no padding between each child elements.