import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { useTheme } from '../../contexts/themeContext/ThemeContext'; import { MessageIcon } from '../../icons/MessageIcon'; import { vw } from '../../utils/utils'; const width = vw(33); const styles = StyleSheet.create({ channelContainer: { alignItems: 'center', flex: 1, justifyContent: 'center', }, channelDetails: { fontSize: 14, textAlign: 'center', width: vw(66), }, channelTitle: { fontSize: 16, paddingBottom: 8, paddingTop: 16, }, }); export type EmptyStateProps = { listType?: 'channel' | 'message' | 'default'; }; export const EmptyStateIndicator: React.FC = ({ listType }) => { const { theme: { colors: { black, grey, grey_gainsboro }, emptyStateIndicator: { channelContainer, channelDetails, channelTitle }, }, } = useTheme(); switch (listType) { case 'channel': return ( {"Let's start chatting!"} {'How about sending your first message to a friend?'} ); case 'message': return null; default: return No items exist; } };