mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-10 17:47:41 +01:00
17 lines
316 B
TypeScript
17 lines
316 B
TypeScript
import classNames from "classnames";
|
|
|
|
export function Title(props: {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}) {
|
|
return (
|
|
<h2
|
|
className={classNames(
|
|
"text-white text-3xl font-bold text-opacity-100 mt-6",
|
|
props.className,
|
|
)}
|
|
>
|
|
{props.children}
|
|
</h2>
|
|
);
|
|
}
|