ant-design-vue/components/anchor/index.jsx
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

16 lines
352 B
Vue

import Anchor from './Anchor'
import AnchorLink from './AnchorLink'
export { AnchorProps } from './Anchor'
export { AnchorLinkProps } from './AnchorLink'
Anchor.Link = AnchorLink
/* istanbul ignore next */
Anchor.install = function (Vue) {
Vue.component(Anchor.name, Anchor)
Vue.component(Anchor.Link.name, Anchor.Link)
}
export default Anchor