File size: 378 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { ReactNode } from "react";

type PostTitleProps = {
  children: ReactNode;
};

const PostTitle = (props: PostTitleProps) => {
  const { children } = props;
  return (
    <h1 className="text-6xl md:text-7xl lg:text-8xl font-bold tracking-tighter leading-tight md:leading-none mb-12 text-center md:text-left">
      {children}
    </h1>
  );
};
export default PostTitle;