Spaces:
Configuration error
Configuration error
File size: 368 Bytes
2d63f96 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import React from "react";
interface HeaderContentProps {
maintitle: string;
subtitle?: string;
}
export function HeaderContent({
maintitle,
subtitle = undefined,
}: HeaderContentProps) {
return (
<>
<h3>{maintitle}</h3>
{subtitle && (
<span className="text-neutral-400 text-sm font-light">{subtitle}</span>
)}
</>
);
}
|