2022-10-17 23:37:01 +08:00
|
|
|
import { ReactNode } from 'react';
|
2022-10-07 13:55:39 +08:00
|
|
|
|
|
|
|
interface Props {
|
2022-10-17 23:37:01 +08:00
|
|
|
children: ReactNode;
|
2022-10-07 13:55:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default function PageTitle({ children }: Props) {
|
2022-07-17 21:40:41 +08:00
|
|
|
return (
|
|
|
|
<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">
|
|
|
|
{children}
|
|
|
|
</h1>
|
2022-10-17 23:37:01 +08:00
|
|
|
);
|
2022-07-17 21:40:41 +08:00
|
|
|
}
|