1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2025-01-10 17:47:41 +01:00
smov/src/components/text/Title.tsx

18 lines
316 B
TypeScript
Raw Normal View History

import classNames from "classnames";
2022-02-13 18:49:03 +01:00
export function Title(props: {
children: React.ReactNode;
className?: string;
}) {
2023-01-07 21:36:18 +01:00
return (
<h2
className={classNames(
"text-white text-3xl font-bold text-opacity-100 mt-6",
props.className,
)}
2023-01-07 23:44:46 +01:00
>
2023-01-07 21:36:18 +01:00
{props.children}
</h2>
2023-01-07 21:36:18 +01:00
);
2022-02-13 18:49:03 +01:00
}