jonbio/components/PageTitle.tsx

14 lines
334 B
TypeScript
Raw Normal View History

2023-07-07 11:17:22 +08:00
import { ReactNode } from 'react'
interface Props {
children: ReactNode
}
export default function PageTitle({ children }: Props) {
2021-01-09 17:50:45 +08:00
return (
2021-01-12 23:35:36 +08:00
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-5xl md:leading-14">
2021-01-09 17:50:45 +08:00
{children}
</h1>
)
}