import { cn } from '@/lib/utils' interface LearnItem { title: string body: string } interface WhatYouWillLearnProps { items: LearnItem[] className?: string } /** * "What you will learn" — a flat callout matching the docs' flat/divider * language. A quiet muted label (like the TOC heading) sits above the * takeaways; dividers fall only between items, so the label reads as a marker * rather than an underlined heading and never competes with the item titles. */ export function WhatYouWillLearn({ items, className }: WhatYouWillLearnProps) { return (

What you will learn

{items.map((item) => (

{item.title}

{item.body}

))}
) }