manifold/web/components/title.tsx
2021-12-18 04:19:16 -08:00

16 lines
309 B
TypeScript

import clsx from 'clsx'
export function Title(props: { text: string; className?: string }) {
const { text, className } = props
return (
<h1
className={clsx(
'text-3xl font-major-mono text-indigo-700 inline-block mt-6 mb-4',
className
)}
>
{text}
</h1>
)
}