Browse Source

types: Corrected StatusBar types (#2697)

* types: Corrected StatusBar types

Not all of the documented options were in the types file,this fixes that

* Update packages/@uppy/status-bar/types/index.d.ts

Co-authored-by: Renée Kooi <renee@kooi.me>

Co-authored-by: Renée Kooi <renee@kooi.me>
Andrew 4 years ago
parent
commit
9bbb80f6cf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/@uppy/status-bar/types/index.d.ts

+ 4 - 0
packages/@uppy/status-bar/types/index.d.ts

@@ -10,6 +10,10 @@ declare module StatusBar {
     showProgressDetails?: boolean
     hideUploadButton?: boolean
     hideAfterFinish?: boolean
+    hideRetryButton?: boolean,
+    hidePauseResumeButton?: boolean,
+    hideCancelButton?: boolean,
+    doneButtonHandler?: () => void,
     locale?: StatusBarLocale
   }
 }