Skip to content

[Client Step 1.8] change src/components/ChatsListScreen/ChatsList.tsx #97

@Martinfer40

Description

@Martinfer40
5244028920848813936_play.mp4_logo_US.mp4
import React from 'react';
import { chats } from '../../db';

const ChatsList: React.FC = () => (
  <div>
    <ul>
      {chats.map((chat) => (
        <li key={chat.id}>
          <img src={chat.picture} alt="Profile" />
          <div>{chat.name}</div>
        </li>
      ))}
    </ul>
  </div>
);

export default ChatsList;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions