mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-30 11:14:05 -04:00
17 lines
371 B
TypeScript
17 lines
371 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(
|
|
'text-primary-700 mb-4 inline-block text-2xl font-normal sm:mb-6 sm:text-3xl',
|
|
className
|
|
)}
|
|
>
|
|
{children}
|
|
</h1>
|
|
)
|
|
}
|