ant-design-vue/components/upload/index.tsx

19 lines
471 B
Vue
Raw Normal View History

import type { App } from 'vue';
import Upload, { LIST_IGNORE } from './Upload';
2019-01-12 03:33:27 +00:00
import Dragger from './Dragger';
2018-04-13 08:19:50 +00:00
export type { UploadProps, UploadListProps, UploadChangeParam, UploadFile } from './interface';
/* istanbul ignore next */
2021-06-23 13:47:53 +00:00
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;
},
});