You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| customFiles |`(GalleryItem & { url?: string })[]`|||| The additional files list (pass the url to be able to exclude the items from content if they are found in the custom files) |
| customFiles |`(GalleryItem & { url?: string })[]`|||| The additional files list (pass the url to be able to exclude the items from content if they are found in the custom files) |
21
+
| options |`UseFilesGalleryOptions`|||| The files gallery options |
| download |`(url: string, type: FilesGalleryItemType, element: Element) => string or undefined`|||| The file download link getter (if you want to show the download action) |
28
+
| copyUrl |`(url: string, type: FilesGalleryItemType, element: Element) => string or undefined`|||| The file copy link getter (if you want to show the copy link action) |
29
+
| overrideItemProps |`(url: string, type: FilesGalleryItemType, element: Element, currentProps: GalleryItemProps) => GalleryItemProps`|||| The custom gallery item props getter (if you want to override the default gallery item props) |
30
+
21
31
22
32
_useFilesGallery returns function `openFilesGallery` with the following args_:
0 commit comments