chore: 删去timelineitem引入的声明 (#7769)

Co-authored-by: yanglu19 <yanglu19@baidu.com>
This commit is contained in:
Dora 2023-08-11 10:33:28 +08:00 committed by GitHub
parent 24fa5db8ba
commit 6b289a260a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,6 @@ import type {
SchemaTokenizeableString
} from '../Schema';
import type {IconCheckedSchema} from 'amis-ui';
import {TimelineItemProps} from 'packages/amis-ui/src/components/TimelineItem';
export interface TimelineItemSchema extends Omit<BaseSchema, 'type'> {
/**
@ -149,7 +148,7 @@ export function TimelineCmpt(props: TimelineProps) {
typeof val === 'string' ? filter(val, data) : val && render(region, val);
// 处理源数据
const resolveTimelineItems: Array<TimelineItemProps> = (items || []).map(
const resolveTimelineItems = (items || []).map(
(timelineItem: TimelineItemSchema, index: number) => {
const {
icon,