headplane/app/components/Title.tsx
2025-01-19 17:31:46 +00:00

16 lines
310 B
TypeScript

import React from 'react';
import { cn } from '~/utils/cn';
export interface TitleProps {
children: React.ReactNode;
className?: string;
}
export default function Title({ children, className }: TitleProps) {
return (
<h3 className={cn('text-2xl font-bold mb-6', className)}>
{children}
</h3>
);
}