mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 11:38:36 +08:00
20 lines
499 B
TypeScript
20 lines
499 B
TypeScript
import { App } from 'vue';
|
|
import Timeline from './Timeline';
|
|
import TimelineItem from './TimelineItem';
|
|
|
|
export { TimelineProps } from './Timeline';
|
|
export { 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 default Timeline as typeof Timeline & {
|
|
readonly Item: typeof TimelineItem;
|
|
};
|