From 2e054373a8ab7f3672964d7e36fae36a9d5e79e1 Mon Sep 17 00:00:00 2001 From: bhuwan joshi Date: Sat, 9 Mar 2024 18:03:47 +0530 Subject: [PATCH] Basic screen ui created --- screens/ChatSessionScreen.js | 42 +++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/screens/ChatSessionScreen.js b/screens/ChatSessionScreen.js index 59d42160..7f7543f9 100644 --- a/screens/ChatSessionScreen.js +++ b/screens/ChatSessionScreen.js @@ -5,7 +5,8 @@ import { TouchableOpacity, View, TextInput, - Button + Button, + Dimensions } from 'react-native'; import React, { useState } from 'react'; import { material } from 'react-native-typography'; @@ -60,15 +61,17 @@ const ChatSessionScreen = () => { console.log('messages', messages); return ( - - - {messages.map((message, index) => ( - - {message.message} - {message.sender_type} - - ))} - + + + + {messages.map((message, index) => ( + + {message.message} + {message.sender_type} + + ))} + + {