12 lines
249 B
TypeScript
Raw Normal View History

2022-02-13 18:49:03 +01:00
export interface TitleProps {
children?: React.ReactNode;
}
export function Title(props: TitleProps) {
2023-01-07 21:36:18 +01:00
return (
<h1 className="mx-auto max-w-xs text-2xl font-bold text-white sm:text-3xl md:text-4xl">
{props.children}
</h1>
);
2022-02-13 18:49:03 +01:00
}