From 6fe50f47c13bb3b4bdf12f60b7a37c13f99bfa70 Mon Sep 17 00:00:00 2001 From: Filip Krawczyk Date: Sun, 24 Dec 2023 21:13:05 +0100 Subject: [PATCH] Fix documentation margin/gap property --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e7d78d..af8a475 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ More examples in [example](example) directory. - `widths` - array of width breakpoints in pixels (e.g. `[400, 800, 1200]`) - `ratios` - array of aspect ratios. Its length has to be one greater than `widths` array (e.g. `[16/9, 32/9, 48/9, 64/9]` along with `widths` above would result in row of proportion at most 16:9 (e.g. one 16:9 image or two 9:16, etc.) for screen widths 0-400px, 32:9 for 400-800px, etc.) - `percentVw` (default: 100) - percent of viewport width that gallery takes (used for image optimization, doesn't change how gallery looks) -- `margin` (default: `"2px"`) - margin between images, needs to be valid css value (e.g. `"2px"`, `"2rem"`, etc.) +- `gap` (default: `"2px"`) - gap between images, needs to be valid css value (e.g. `"2px"`, `"2rem"`, etc.) - `imgLoader` (default: next default loader) - image loader, see [next/image](https://nextjs.org/docs/api-reference/next/image#loader) - `lastRowBehavior` (default: `"match-previous"`) - `"match-previous"`, `"fill"` or `"preserve"`. See [last row behavior](#last-row-behavior) section below. - for other props available only for certain `lastRowBehavior` values see [last row behavior](#last-row-behavior) section below.