import * as React from 'react' import { Timeline, Text } from '@mantine/core' interface TimelineItem { title: string description?: string icon?: React.ReactNode color?: string time?: string } interface FnTimelineProps { items: TimelineItem[] active?: number bulletSize?: number } function FnTimeline({ items, active = -1, bulletSize = 20, }: FnTimelineProps) { return ( {items.map((item, i) => ( {item.time && ( {item.time} )} {item.description && ( {item.description} )} ))} ) } export { FnTimeline } export type { FnTimelineProps, TimelineItem }