ref(chat): Refactor Chat components (#13550)

Remove Abstract component
Convert web component to function component
This commit is contained in:
Robert Pintilii
2023-07-12 15:51:38 +03:00
committed by GitHub
parent 398e170e2d
commit 824cfc0c9c
12 changed files with 250 additions and 300 deletions

View File

@@ -2,7 +2,7 @@ import React, { Component } from 'react';
import { FlatList } from 'react-native';
import { MESSAGE_TYPE_LOCAL, MESSAGE_TYPE_REMOTE } from '../../constants';
import { IMessage } from '../../reducer';
import { IMessage } from '../../types';
import ChatMessage from './ChatMessage';