2021-06-26 09:35:40 +08:00
|
|
|
import type { App, Plugin } from 'vue';
|
2019-01-12 11:33:27 +08:00
|
|
|
import Timeline from './Timeline';
|
2019-08-28 10:50:19 +08:00
|
|
|
import TimelineItem from './TimelineItem';
|
2018-04-03 15:51:44 +08:00
|
|
|
|
2021-06-23 21:47:53 +08:00
|
|
|
export type { TimelineProps } from './Timeline';
|
|
|
|
export type { TimelineItemProps } from './TimelineItem';
|
2018-04-03 15:51:44 +08:00
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
Timeline.Item = TimelineItem;
|
2018-04-03 15:51:44 +08:00
|
|
|
|
2018-09-19 13:21:57 +08:00
|
|
|
/* istanbul ignore next */
|
2021-06-23 23:08:16 +08:00
|
|
|
Timeline.install = function (app: App) {
|
2020-06-08 15:02:43 +08:00
|
|
|
app.component(Timeline.name, Timeline);
|
|
|
|
app.component(TimelineItem.name, TimelineItem);
|
2020-10-13 19:14:56 +08:00
|
|
|
return app;
|
2019-01-12 11:33:27 +08:00
|
|
|
};
|
2021-06-23 23:08:16 +08:00
|
|
|
export { TimelineItem };
|
2020-11-01 15:03:33 +08:00
|
|
|
export default Timeline as typeof Timeline &
|
|
|
|
Plugin & {
|
|
|
|
readonly Item: typeof TimelineItem;
|
|
|
|
};
|