Files
Compass/web/components/widgets/title.tsx
MartinBraquet dfc524b957 Fix
2025-10-19 00:32:48 +02:00

17 lines
354 B
TypeScript

import clsx from 'clsx'
import { ReactNode } from 'react'
export function Title(props: { className?: string; children?: ReactNode }) {
const { className, children } = props
return (
<h1
className={clsx(
'mb-4 inline-block text-2xl font-normal sm:mb-6 sm:text-3xl',
className
)}
>
{children}
</h1>
)
}