paulcollett / react-masonry-css

React Masonry layout component powered by CSS, dependancy free
https://paulcollett.github.io/react-masonry-css/demo/
MIT License
962 stars 66 forks source link

Add a css file #11

Open dani-corie opened 6 years ago

dani-corie commented 6 years ago

So since this project is in npm, and we have really good support in webpack for css files, I'd like to see a css file in the distribution that I can just import, as opposed to having it in the documentation. ;)

paulcollett commented 6 years ago

Good idea! This is ideal and I'll look into it, though for simplicity of setup how would you feel about automatic css styling without needing to add css? Would be outputted as inline styles.

jacklorusso commented 6 years ago

Inline styles would be fine with me, FWIW. If you're sticking with external CSS file then I'd love to see what is proposed above implemented :)