cedricdelpoux / react-responsive-masonry

React responsive masonry component built with css flexbox
https://cedricdelpoux.github.io/react-responsive-masonry/
MIT License
362 stars 37 forks source link

When `gutter` is a string, no gaps appear between tiles. When it's a number, everything works fine, but a prop warning appears. #30

Closed antonivlev closed 3 years ago

SoufianeLasri commented 3 years ago

@antonivlev You have to add "px" to your string value, for example: gutter="32px"

antonivlev commented 3 years ago

Thank you, worked great, closing this