5180 fichiers 38.5 Mo 0 téléchargements 565 vues mis à jour il y a 8 heures ui
nitro-v36-with-renderer-v36 / src / components / friends / views / messenger / messenger-thread / FriendsMessengerThreadView.tsx
FriendsMessengerThreadView.tsx 644 o Télécharger le fichier
import { FC } from 'react';
import { MessengerThread } from '../../../../../api';
import { FriendsMessengerThreadGroup } from './FriendsMessengerThreadGroup';

export const FriendsMessengerThreadView: FC<{ thread: MessengerThread }> = (props) => {
    const { thread = null } = props;

    // The store marks the open conversation read (activeThreadId effect, sendMessage); changing the thread object
    // held in state from here would bypass React.
    if (!thread) return null;

    return <>{thread.groups.length > 0 && thread.groups.map((group, index) => <FriendsMessengerThreadGroup key={index} group={group} thread={thread} />)}</>;
};
15Sujets
1Dépôts
20Membres
4En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser