diff --git a/apps/playground-web/src/components/blocks/APIHeader.tsx b/apps/playground-web/src/components/blocks/APIHeader.tsx index 989abbd83d4..4411b6c43d9 100644 --- a/apps/playground-web/src/components/blocks/APIHeader.tsx +++ b/apps/playground-web/src/components/blocks/APIHeader.tsx @@ -4,63 +4,63 @@ import { cn } from "../../lib/utils"; import { Button } from "../ui/button"; export function PageHeader(props: { - title: string; - description: React.ReactNode; - docsLink: string; + title: string; + description: React.ReactNode; + docsLink: string; }) { - return ( -
-
- {/* Left */} -
-

- {props.title} -

-

- {props.description} -

-
+ return ( +
+
+ {/* Left */} +
+

+ {props.title} +

+

+ {props.description} +

+
- {/* right */} -
- - -
-
-
- ); + {/* right */} +
+ + +
+
+
+ ); } export function PageLayout(props: { - title: string; - description: React.ReactNode; - docsLink: string; - children: React.ReactNode; - containerClassName?: string; + title: string; + description: React.ReactNode; + docsLink: string; + children: React.ReactNode; + containerClassName?: string; }) { - return ( -
- -
- {props.children} -
-
- ); + return ( +
+ +
+ {props.children} +
+
+ ); }