ant-design-vue/components/timeline/index.tsx

21 lines
562 B
Vue
Raw Normal View History

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