Open arjanvillon opened 3 years ago
I'm using css modules with react-masonry-css
, albeit in a basic way. What is missing that prevents you from using css modules?
Can you provide an example?
Could you not do something like this?:
<Masonry
breakpointCols={3}
className={`${styles.grid}`}
columnClassName={styles.grid__column}
>
{/* array of JSX items */}
</Masonry>
This is a great package! Great work guys. I just want to suggest a new feature to support css modules when adding a className or columnClassName.