mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
chore: 删去timelineitem引入的声明 (#7769)
Co-authored-by: yanglu19 <yanglu19@baidu.com>
This commit is contained in:
parent
24fa5db8ba
commit
6b289a260a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user