mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 03:28:42 +08:00
21 lines
562 B
Vue
21 lines
562 B
Vue
import type { App, Plugin } from 'vue';
|
|
import Timeline from './Timeline';
|
|
import TimelineItem from './TimelineItem';
|
|
|
|
export type { TimelineProps } from './Timeline';
|
|
export type { TimelineItemProps } from './TimelineItem';
|
|
|
|
Timeline.Item = TimelineItem;
|
|
|
|
/* istanbul ignore next */
|
|
Timeline.install = function (app: App) {
|
|
app.component(Timeline.name, Timeline);
|
|
app.component(TimelineItem.name, TimelineItem);
|
|
return app;
|
|
};
|
|
export { TimelineItem };
|
|
export default Timeline as typeof Timeline &
|
|
Plugin & {
|
|
readonly Item: typeof TimelineItem;
|
|
};
|