fix(guide): add more headings

This commit is contained in:
iCrawl
2023-04-29 20:10:06 +02:00
parent 8d212e4859
commit 6229597db2
5 changed files with 39 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
import type { HTMLAttributes, PropsWithChildren } from 'react';
export default function H2({ children, className, ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) {
return (
<h2 className={`group ${className}`} {...props}>
{children}
</h2>
);
}