{props.code}
@@ -28,11 +28,11 @@ export function CodeBox(props: CodeBoxProps) {
}
interface PageHeaderProps {
- text: string;
+ text: string | JSXElement;
class?: string;
}
-export function PageHeader(props: PageHeaderProps) {
+export function PageHeader(props: PageHeaderProps): JSXElement {
return (