manifold/web/components/title.tsx
ingawei ae2e7dfe30
noobify welcome demo (#699)
* noobify welcome
* also beginning to add greyscale color scheme
2022-07-30 02:50:03 -05:00

16 lines
320 B
TypeScript

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