13 lines
315 B
TypeScript
13 lines
315 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
type Props = {
|
|
children?: ReactNode;
|
|
};
|
|
|
|
export function PostTitle({ children }: Props) {
|
|
return (
|
|
<h1 className="text-5xl md:text-7xl lg:text-8xl font-bold tracking-tighter leading-tight md:leading-none mb-12 text-center md:text-left">
|
|
{children}
|
|
</h1>
|
|
);
|
|
}
|