Open raghavmac opened 6 years ago
Created a PR #40.
Hi sorry for the delay. I would prefer to have a new layout rather than adding a new Boolean prop. Just a question of what to call it, perhaps "Sorted Masonry"?
Initially, I thought the same but it will be having almost all the logic from pinterest layout except one small calculation, thus went for a prop.
react-stonecutter is an amazing package, many thanks. In addition, I thought it would have been great if it had sorting option for
SpringGrid
. Currently it works as per the masonry but compromises with the order (well, nothing wrong in it).