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

20 lines
465 B
Vue
Raw Normal View History

2020-11-01 07:03:33 +00:00
import { App, Plugin } from 'vue';
2019-01-12 03:33:27 +00:00
import Upload from './Upload';
import Dragger from './Dragger';
2018-04-13 08:19:50 +00:00
2019-01-12 03:33:27 +00:00
export { UploadProps, UploadListProps, UploadChangeParam } from './interface';
2018-04-13 08:19:50 +00:00
2019-01-12 03:33:27 +00:00
Upload.Dragger = Dragger;
/* istanbul ignore next */
2020-10-22 06:52:37 +00:00
Upload.install = function(app: App) {
2020-06-25 14:21:23 +00:00
app.component(Upload.name, Upload);
app.component(Dragger.name, Dragger);
2020-10-13 11:14:56 +00:00
return app;
2019-01-12 03:33:27 +00:00
};
2020-11-01 07:03:33 +00:00
export default Upload as typeof Upload &
Plugin & {
readonly Dragger: typeof Dragger;
};