import { ITimeline, ITimelineItem } from './Timeline.interface' import React, { Children } from 'react' import { StyledTimeline, StyledTimelineBorder, StyledTimelineContent, StyledTimelineImage, StyledTimelineItem, StyledTimelineWrapper, } from './Timeline.theme' import Heading from '@/components/atoms/Heading/Heading.component' import RichText from '@/components/atoms/RichText/RichText.component' export const Timeline = ({ className, style, children }: ITimeline) => { let borders = []; if (children) { for (let index = 0; index < Children.count(children); index++) { borders.push() } } return ( {children} ) } export const TimelineItem = ({ year, description, imageElement, className, style, }: ITimelineItem) => { return ( {imageElement} {year} {description} ) }