Make descriptions nullable
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -2,7 +2,7 @@ import type { PropsWithChildren, ReactNode } from "react";
|
||||
|
||||
type Props = PropsWithChildren<{
|
||||
title: ReactNode;
|
||||
description?: string;
|
||||
description?: string | null;
|
||||
}>;
|
||||
|
||||
export function PageHeader({ title, description, children }: Props) {
|
||||
|
||||
Reference in New Issue
Block a user