string | React.ReactNode -> React.ReactNode

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
environments/review-i18n-van04z/deployments/52
marcin mikołajczak 2022-05-24 17:16:07 +02:00
rodzic 682d2a3647
commit 38b3b7150f
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -2,7 +2,7 @@ import classNames from 'classnames';
import React from 'react';
interface IBadge {
title: string | React.ReactNode,
title: React.ReactNode,
slug: 'patron' | 'donor' | 'admin' | 'moderator' | 'bot' | 'opaque',
}

Wyświetl plik

@ -80,7 +80,7 @@ const CardHeader: React.FC<ICardHeader> = ({ children, backHref, onBackClick }):
};
interface ICardTitle {
title: string | React.ReactNode
title: React.ReactNode
}
/** A card's title. */

Wyświetl plik

@ -50,7 +50,7 @@ interface IModal {
/** Don't focus the "confirm" button on mount. */
skipFocus?: boolean,
/** Title text for the modal. */
title: string | React.ReactNode,
title: React.ReactNode,
width?: Widths,
}

Wyświetl plik

@ -14,7 +14,7 @@ const messages = defineMessages({
interface IAccordion {
headline: React.ReactNode,
children?: string | React.ReactNode,
children?: React.ReactNode,
menu?: Menu,
expanded?: boolean,
onToggle?: (value: boolean) => void,