mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-26 03:35:19 +00:00
Ref:
https://community.transloadit.com/t/is-it-possible-to-display-the-thumbnail-of-the-images-in-the-listbox/17711/3
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Adds an optional `imageThumbnail` prop to `FilesList` and `FilesGrid`
to control passing `images` to `Thumbnail` (default true in grid).
>
> - **Components (@uppy/components)**
> - **FilesGrid (`packages/@uppy/components/src/FilesGrid.tsx`)**
> - Add `imageThumbnail?: boolean` prop (defaults to `true`).
> - Pass `images={imageThumbnail}` to `Thumbnail` instead of hardcoded
`images`.
> - **FilesList (`packages/@uppy/components/src/FilesList.tsx`)**
> - Add `imageThumbnail?: boolean` prop.
> - Pass `images={imageThumbnail}` to `Thumbnail` (32px preview).
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
|
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| migrate.mjs | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| turbo.json | ||