Set text children to optional

This commit is contained in:
jeffvli 2023-01-12 00:44:33 -08:00
parent b0ca7ab127
commit 36c1f4e736
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ interface TextTitleProps extends MantineTextTitleDivProps {
$link?: boolean; $link?: boolean;
$noSelect?: boolean; $noSelect?: boolean;
$secondary?: boolean; $secondary?: boolean;
children: ReactNode; children?: ReactNode;
overflow?: 'hidden' | 'visible'; overflow?: 'hidden' | 'visible';
to?: string; to?: string;
weight?: number; weight?: number;

View file

@ -11,7 +11,7 @@ interface TextProps extends MantineTextDivProps {
$link?: boolean; $link?: boolean;
$noSelect?: boolean; $noSelect?: boolean;
$secondary?: boolean; $secondary?: boolean;
children: ReactNode; children?: ReactNode;
font?: Font; font?: Font;
overflow?: 'hidden' | 'visible'; overflow?: 'hidden' | 'visible';
to?: string; to?: string;