Openstatus www.openstatus.dev
at 20d0eeac16db94063a196dbfa8cb02fb172cac98 18 lines 415 B view raw
1import { cn } from "@/lib/utils"; 2 3export function SectionHeader({ 4 title, 5 description, 6 className, 7}: { 8 title: string; 9 description: React.ReactNode; 10 className?: string; 11}) { 12 return ( 13 <div className={cn("flex max-w-2xl flex-col gap-1", className)}> 14 <h4 className="font-medium text-foreground">{title}</h4> 15 <p className="text-muted-foreground text-sm">{description}</p> 16 </div> 17 ); 18}