From ce8d09c3b53bcf87ec8349a0a058427cbeee9e7e Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Wed, 11 Jul 2018 12:03:19 +0800 Subject: [PATCH] fix: update upload action of props #66 --- components/upload/interface.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/upload/interface.jsx b/components/upload/interface.jsx index e2d410395c..e9eaeabab2 100755 --- a/components/upload/interface.jsx +++ b/components/upload/interface.jsx @@ -51,6 +51,7 @@ export const UploadLocale = PropsTypes.shape({ uploadError: PropsTypes.string, previewFile: PropsTypes.string, }).loose + export const UploadProps = { type: PropsTypes.oneOf(['drag', 'select']), name: PropsTypes.string,