mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-06 05:59:46 +08:00
18 lines
406 B
TypeScript
18 lines
406 B
TypeScript
import { App, Plugin } from 'vue';
|
|
import Spin, { setDefaultIndicator } from './Spin';
|
|
|
|
export { SpinProps } from './Spin';
|
|
|
|
Spin.setDefaultIndicator = setDefaultIndicator;
|
|
|
|
/* istanbul ignore next */
|
|
Spin.install = function(app: App) {
|
|
app.component(Spin.name, Spin);
|
|
return app;
|
|
};
|
|
|
|
export default Spin as typeof Spin &
|
|
Plugin & {
|
|
readonly setDefaultIndicator: typeof setDefaultIndicator;
|
|
};
|