feat: add preview button when selecting images (#27305)

* Add preview button when selecting images

* Fix test helper

* prettier

* styling

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
John Maguire
2026-04-03 12:21:43 -04:00
committed by GitHub
parent a2687d674e
commit 4fcd9c2e0d
4 changed files with 26 additions and 1 deletions
@@ -376,6 +376,7 @@
void navigateToAsset(asset);
}}
onSelect={() => handleSelectAssets(currentAsset)}
onPreview={assetInteraction.selectionActive ? () => void navigateToAsset(asset) : undefined}
onMouseEvent={() => assetMouseEventHandler(currentAsset)}
{showArchiveIcon}
asset={currentAsset}