import s from './style.module.css' interface Block { title: string description: string image: string } interface BlockListProps { blocks: Block[] } export default function BlockList({ blocks }: BlockListProps) { return (
{blocks.map(({ image, title, description }) => (
{title}

{title}

{description}

))}
) }