ant-design-vue/components/spin/index.js
tangjinzhou a6620cbbe5
feat: add component Vue.use method (#197)
* feat: add Vue.use feat

* feat: Vue.use method

* docs: update docs
2018-09-19 13:21:57 +08:00

13 lines
251 B
JavaScript

import Spin, { setDefaultIndicator } from './Spin'
export { SpinProps } from './Spin'
Spin.setDefaultIndicator = setDefaultIndicator
/* istanbul ignore next */
Spin.install = function (Vue) {
Vue.component(Spin.name, Spin)
}
export default Spin