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;
|
$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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Reference in a new issue