Explorar el Código

Add missing doneButtonHandler type to dashboard (#2821)

Added missing type to dashboard which is present in the documentation: https://uppy.io/docs/dashboard/#doneButtonHandler

`doneButtonHandler`
Alvin Wang hace 4 años
padre
commit
8c77679651
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/@uppy/dashboard/types/index.d.ts

+ 1 - 0
packages/@uppy/dashboard/types/index.d.ts

@@ -26,6 +26,7 @@ declare module Dashboard {
     disablePageScrollWhenModalOpen?: boolean
     disableStatusBar?: boolean
     disableThumbnailGenerator?: boolean
+    doneButtonHandler?: () => void
     height?: string | number
     hideCancelButton?: boolean
     hidePauseResumeButton?: boolean