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

20 lines
499 B
TypeScript
Raw Normal View History

2020-10-20 05:02:18 +00:00
import { App } 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
2019-01-12 03:33:27 +00:00
export { TimelineProps } from './Timeline';
export { 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 */
2020-10-20 05:02:18 +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
};
2020-10-20 05:02:18 +00:00
export default Timeline as typeof Timeline & {
readonly Item: typeof TimelineItem;
};