import { ReactNode } from "react"; import { Badge } from "../ui/badge"; interface DocsHeaderProps { title: string; description: string; icon: ReactNode; categories: string[]; } export const DocsHeader = (props: DocsHeaderProps) => { return (
{props.icon}

{props.title}

{props.categories.map((category) => ( {category} ))}

{props.description}

); };