mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 20:47:56 +08:00
a6620cbbe5
* feat: add Vue.use feat * feat: Vue.use method * docs: update docs
15 lines
330 B
Vue
15 lines
330 B
Vue
import Upload from './Upload'
|
|
import Dragger from './Dragger'
|
|
|
|
export { UploadProps, UploadListProps, UploadChangeParam } from './interface'
|
|
|
|
Upload.Dragger = Dragger
|
|
|
|
/* istanbul ignore next */
|
|
Upload.install = function (Vue) {
|
|
Vue.component(Upload.name, Upload)
|
|
Vue.component(Dragger.name, Dragger)
|
|
}
|
|
|
|
export default Upload
|