浏览代码

@uppy/dashboard: fix type of trigger option (#5106)

Merlijn Vos 1 年之前
父节点
当前提交
ffdfa096d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/@uppy/dashboard/src/Dashboard.tsx

+ 1 - 1
packages/@uppy/dashboard/src/Dashboard.tsx

@@ -166,7 +166,7 @@ interface DashboardMiscOptions<M extends Meta, B extends Body>
   thumbnailHeight?: number
   thumbnailType?: string
   thumbnailWidth?: number
-  trigger?: string
+  trigger?: string | Element
   waitForThumbnailsBeforeUpload?: boolean
 }