Closed louiechristie closed 2 years ago
To help people avoid using a number (instead of a string) and getting this error: Warning: Failed prop type: Invalid propgutterof typenumbersupplied toMasonry, expectedstring.
Warning: Failed prop type: Invalid prop
of type
supplied to
, expected
.
Also to illustrate how to have responsive gutters because this was not obvious, see: https://github.com/cedricdelpoux/react-responsive-masonry/issues/6#issuecomment-344510456
Thanks @louiechristie
To help people avoid using a number (instead of a string) and getting this error:
Warning: Failed prop type: Invalid prop
gutterof type
numbersupplied to
Masonry, expected
string.
Also to illustrate how to have responsive gutters because this was not obvious, see: https://github.com/cedricdelpoux/react-responsive-masonry/issues/6#issuecomment-344510456