ant-design-vue/components/timeline/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
382 B
Vue

import Timeline from './Timeline'
export { TimelineProps } from './Timeline'
export { TimeLineItemProps } from './TimelineItem'
import TimelineItem from './TimelineItem'
Timeline.Item = TimelineItem
/* istanbul ignore next */
Timeline.install = function (Vue) {
Vue.component(Timeline.name, Timeline)
Vue.component(TimelineItem.name, TimelineItem)
}
export default Timeline