We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5c489 commit 3d8e670Copy full SHA for 3d8e670
pages/index.tsx
@@ -6,6 +6,12 @@ export const metadata: Metadata = {
6
description: 'Max Gerber\'s personal website',
7
}
8
9
+const Components = {
10
+ h1: ({children, ...props}) => <h1 {...props}>{children}</h1>,
11
+ h2: ({children, ...props}) => <h2 {...props}>{children}</h2>,
12
+ h3: ({children, ...props}) => <h3 {...props}>{children}</h3>,
13
+}
14
+
15
export default function Page() {
- return <div className="container"><Content/></div>
16
+ return <div className="container"><Content components={Components}/></div>
17
0 commit comments