mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
import Timeline from './src/index.vue'
|
|
import TimelineItem from './src/item.vue'
|
|
|
|
export const ElTimeline = withInstall(Timeline, {
|
|
TimelineItem,
|
|
})
|
|
export default ElTimeline
|
|
export const ElTimelineItem = withNoopInstall(TimelineItem)
|