react-photo-gallery
react-photo-gallery copied to clipboard
Flexibility around margin prop
Hi @neptunian, thank you for creating this amazing library, and all the helpful examples!
An issue that I keep running into is wanting to customize the margin based on columns (single column vs multi-column), container width (for mobile layouts vs desktop views) or simply vertical vs horizontal margins.
I'm curious if there is any workaround and/or flexibility in how the margin
prop is received - maybe a function like for columns
? And maybe separating out the prop into the individual margins (top, right, bottom, left)?