Set text children to optional
This commit is contained in:
parent
b0ca7ab127
commit
36c1f4e736
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ interface TextTitleProps extends MantineTextTitleDivProps {
|
|||
$link?: boolean;
|
||||
$noSelect?: boolean;
|
||||
$secondary?: boolean;
|
||||
children: ReactNode;
|
||||
children?: ReactNode;
|
||||
overflow?: 'hidden' | 'visible';
|
||||
to?: string;
|
||||
weight?: number;
|
||||
|
|
|
@ -11,7 +11,7 @@ interface TextProps extends MantineTextDivProps {
|
|||
$link?: boolean;
|
||||
$noSelect?: boolean;
|
||||
$secondary?: boolean;
|
||||
children: ReactNode;
|
||||
children?: ReactNode;
|
||||
font?: Font;
|
||||
overflow?: 'hidden' | 'visible';
|
||||
to?: string;
|
||||
|
|
Reference in a new issue