mirror of
https://github.com/movie-web/movie-web.git
synced 2025-03-05 19:37:43 +01:00

Co-authored-by: Jip Frijlink <JipFr@users.noreply.github.com> Co-authored-by: William Oldham <github@binaryoverload.co.uk>
18 lines
315 B
TypeScript
18 lines
315 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>
|
|
);
|
|
}
|