diff --git a/api-generator/components/fileupload.js b/api-generator/components/fileupload.js index 9c20d969b..33ec8e724 100644 --- a/api-generator/components/fileupload.js +++ b/api-generator/components/fileupload.js @@ -112,6 +112,18 @@ const FileUploadProps = [ type: "boolean", default: "true", description: "Whether to cancel the upload button." + }, + { + name: "style", + type: "any", + default: "null", + description: "Inline style of the component." + }, + { + name: "class", + type: "string", + default: "null", + description: "Style class of the component." } ]; diff --git a/src/components/fileupload/FileUpload.d.ts b/src/components/fileupload/FileUpload.d.ts index d05fa50db..1fb1e8c87 100755 --- a/src/components/fileupload/FileUpload.d.ts +++ b/src/components/fileupload/FileUpload.d.ts @@ -19,6 +19,8 @@ interface FileUploadProps { customUpload?: boolean; showUploadButton?: boolean; showCancelButton?: boolean; + style?: any; + class?: string; } declare class FileUpload { diff --git a/src/components/fileupload/FileUpload.vue b/src/components/fileupload/FileUpload.vue index d4b6069f7..4063bec18 100755 --- a/src/components/fileupload/FileUpload.vue +++ b/src/components/fileupload/FileUpload.vue @@ -1,5 +1,5 @@