rc-upload
Advanced tools
Comparing version 3.3.3 to 3.3.4
@@ -20,4 +20,4 @@ import * as React from 'react'; | ||
onProgress?: (event: UploadProgressEvent, file: RcFile) => void; | ||
beforeUpload?: (file: RcFile, FileList: RcFile[]) => boolean | Promise<RcFile>; | ||
customRequest?: () => void; | ||
beforeUpload?: (file: RcFile, FileList: RcFile[]) => boolean | Promise<void | File | Blob>; | ||
customRequest?: (option: UploadRequestOption) => void; | ||
withCredentials?: boolean; | ||
@@ -24,0 +24,0 @@ openFileDialogOnClick?: boolean; |
@@ -20,4 +20,4 @@ import * as React from 'react'; | ||
onProgress?: (event: UploadProgressEvent, file: RcFile) => void; | ||
beforeUpload?: (file: RcFile, FileList: RcFile[]) => boolean | Promise<RcFile>; | ||
customRequest?: () => void; | ||
beforeUpload?: (file: RcFile, FileList: RcFile[]) => boolean | Promise<void | File | Blob>; | ||
customRequest?: (option: UploadRequestOption) => void; | ||
withCredentials?: boolean; | ||
@@ -24,0 +24,0 @@ openFileDialogOnClick?: boolean; |
{ | ||
"name": "rc-upload", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "upload ui component for react", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"docs:build": "dumi build", | ||
"docs:deploy": "gh-pages -d .doc", | ||
"docs:deploy": "npm run docs:build && gh-pages -d .doc", | ||
"compile": "father build", | ||
@@ -32,0 +32,0 @@ "prepublishOnly": "npm run compile && np --yolo --no-publish", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53594