Prepare for upgrade to React 19

Co-authored-by: ayumi-signal <ayumi@signal.org>
This commit is contained in:
Jamie
2025-12-23 13:42:56 -08:00
committed by GitHub
parent fe94991ea2
commit b405e3d83d
716 changed files with 3129 additions and 2881 deletions

View File

@@ -32,7 +32,7 @@ function SampleMessage({
timestampDeltaFromNow: number;
status: 'delivered' | 'read' | 'sent';
style?: CSSProperties;
}): JSX.Element {
}): React.JSX.Element {
return (
<div className={`module-message module-message--${direction}`}>
<div className="module-message__container-outer">
@@ -71,7 +71,7 @@ export function SampleMessageBubbles({
color,
i18n,
includeAnotherBubble = false,
}: PropsType): JSX.Element {
}: PropsType): React.JSX.Element {
const firstBubbleStyle = includeAnotherBubble ? backgroundStyle : undefined;
return (
<>