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,