更新 README.md
This commit is contained in:
@@ -69,6 +69,7 @@ import PhotoGrid from "@site/src/components/PhotoGrid";
|
|||||||
| `photos` | `string[]` | `[]` | 圖片路徑陣列,相對於 `/static` |
|
| `photos` | `string[]` | `[]` | 圖片路徑陣列,相對於 `/static` |
|
||||||
| `columns` | `number` | `3` | 桌面版欄數 |
|
| `columns` | `number` | `3` | 桌面版欄數 |
|
||||||
| `gap` | `string` | `"12px"` | 圖片間距 |
|
| `gap` | `string` | `"12px"` | 圖片間距 |
|
||||||
|
| `shuffle` | `boolean` | `false` | 每次載入隨機排列順序 |
|
||||||
|
|
||||||
```mdx
|
```mdx
|
||||||
<!-- 想要兩欄、大間距 -->
|
<!-- 想要兩欄、大間距 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user