14 lines
343 B
TypeScript
14 lines
343 B
TypeScript
export const H1: React.FC = ({ children }) => {
|
|
return (
|
|
<h1 className="mb-5 text-4xl md:text-5xl font-semibold text-gray-800 dark:text-white">
|
|
{children}
|
|
</h1>
|
|
)
|
|
}
|
|
|
|
export const H2: React.FC = ({ children }) => {
|
|
return (
|
|
<h2 className="mb-5 text-5xl font-semibold text-gray-800 dark:text-white">{children}</h2>
|
|
)
|
|
}
|