feat(guide): anchor links

This commit is contained in:
iCrawl
2023-04-29 20:05:22 +02:00
parent 51e8f02ef7
commit 8d212e4859
6 changed files with 80 additions and 57 deletions

View File

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