headplane/app/components/Title.tsx

14 lines
299 B
TypeScript
Raw Normal View History

import React from 'react';
2025-01-28 17:46:16 -05:00
import cn from '~/utils/cn';
export interface TitleProps {
children: React.ReactNode;
className?: string;
}
export default function Title({ children, className }: TitleProps) {
return (
2025-02-04 17:21:03 -05:00
<h3 className={cn('text-2xl font-bold mb-2', className)}>{children}</h3>
);
}