import { RoadmapType } from '../../lib/roadmap'; import { Box, SimpleGrid, Tag } from '@chakra-ui/react'; import { HomeRoadmapItem } from '../roadmap/home-roadmap-item'; type FeaturedRoadmapsListProps = { roadmaps: RoadmapType[]; title: string; }; export function FeaturedRoadmapsList(props: FeaturedRoadmapsListProps) { const { roadmaps, title } = props; return ( <> {title} {roadmaps.map((roadmap: RoadmapType, counter: number) => ( ))} ); }