mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 21:50:07 +08:00
04baae5a57
* refactor: vc-upload * refactor: vc-upload * refactor: upload * refactor: upload * refactor: upload
19 lines
471 B
Vue
19 lines
471 B
Vue
import type { App } from 'vue';
|
|
import Upload, { LIST_IGNORE } from './Upload';
|
|
import Dragger from './Dragger';
|
|
|
|
export type { UploadProps, UploadListProps, UploadChangeParam, UploadFile } from './interface';
|
|
|
|
/* istanbul ignore next */
|
|
export const UploadDragger = Dragger;
|
|
|
|
export default Object.assign(Upload, {
|
|
Dragger,
|
|
LIST_IGNORE,
|
|
install(app: App) {
|
|
app.component(Upload.name, Upload);
|
|
app.component(Dragger.name, Dragger);
|
|
return app;
|
|
},
|
|
});
|