mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [timeline] fix type error (#8829)
This commit is contained in:
@@ -2,16 +2,17 @@ import { markRaw } from 'vue'
|
||||
import { mount } from '@vue/test-utils'
|
||||
import { describe, expect, test } from 'vitest'
|
||||
import { MoreFilled } from '@element-plus/icons-vue'
|
||||
|
||||
import TimeLine from '../src/timeline'
|
||||
import TimeLineItem from '../src/timeline-item.vue'
|
||||
|
||||
import type { TimelineItemProps } from '../src/timeline-item'
|
||||
|
||||
const iconMoreFilled = markRaw(MoreFilled)
|
||||
|
||||
const activities: {
|
||||
content: string
|
||||
timestamp: string
|
||||
placement?: string
|
||||
placement?: TimelineItemProps['placement']
|
||||
hideTimestamp?: boolean
|
||||
}[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user