5f483b9743
## Documentation / Examples Not sure that I need to provide type to all of components or not? Let me know if you want me to provide. - [x] Closes #38752 - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
8 lines
274 B
TypeScript
8 lines
274 B
TypeScript
export default function PostTitle({ children }) {
|
|
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"
|
|
dangerouslySetInnerHTML={{ __html: children }}
|
|
/>
|
|
)
|
|
}
|