import { PillProps } from "@lifesg/react-design-system/pill"; import { TimelineItemProps, TimelineProps } from "@lifesg/react-design-system/timeline"; import * as Icons from "@lifesg/react-icons"; import { TFrontendEngineFieldSchema } from "../../frontend-engine"; import { ICustomElementJsonSchema } from "../types"; export interface ITimelineSchema extends ICustomElementJsonSchema<"timeline">, Pick { items: ITimelineItemSchema[]; label: string; } interface ITimelineItemSchema extends Omit { children: string | Record>; label: string; statuses?: [ITimelineStatusSchema] | [ITimelineStatusSchema, ITimelineStatusSchema] | undefined; } interface ITimelineStatusSchema extends Omit { icon?: keyof typeof Icons | undefined; children: string; } export {};