import { Component } from '@angular/core';

@Component({
  selector: 'app-chat',
  templateUrl: 'Tab2.page.html',
  styleUrls: ['Tab2.page.scss'],
})
export class Tab2Page {
  constructor() {}

  chats = [
    { name: 'Chat Room 1', lastMessage: 'Hello!', avatar: 'assets/avatar1.png' },
    { name: 'Chat Room 2', lastMessage: 'How are you?', avatar: 'assets/avatar2.png' },
    { name: 'Chat Room 3', lastMessage: 'Good morning!', avatar: 'assets/avatar3.png' },
    { name: 'Chat Room 4', lastMessage: 'Let\'s play!', avatar: 'assets/avatar4.png' },
  ];
}
