fix: Adding ant-upload-btn class to the upload component (#1742)
* adding ant-upload-btn class * fix: update tests * fix: apply ant-upload-btn to dragging uploads onlypull/1680/head
parent
e264a169b0
commit
2a304e0fbb
|
@ -273,7 +273,7 @@ export default {
|
|||
onDragover={this.onFileDrop}
|
||||
onDragleave={this.onFileDrop}
|
||||
>
|
||||
<VcUpload {...vcUploadProps}>
|
||||
<VcUpload {...vcUploadProps} class={`${prefixCls}-btn`}>
|
||||
<div class={`${prefixCls}-drag-container`}>{children}</div>
|
||||
</VcUpload>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue