mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Set text children to optional
This commit is contained in:
@@ -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 New Issue
Block a user