UNPKG

softchatjs-react-native

Version:

React native UI SDK for softchatjs-core. Create a free account at: https://www.softchatjs.com

23 lines (20 loc) 682 B
import React from 'react'; import { Conversation } from 'softchatjs-core'; type ConversationListProps = { conversations: Conversation[]; chatUserId: string; onOpen: () => void; }; type ListItemProps = { conversation: Conversation; chatUserId: string; isLastItem: boolean; onPress: () => void; }; declare const ConversationTitle: ({ title, fontFamily }: { title: string; fontFamily: string | null; }) => React.JSX.Element; declare const ListItem: (props: ListItemProps) => React.JSX.Element; declare function ConversationList(props: ConversationListProps): React.JSX.Element; export { ConversationTitle, ListItem, ConversationList as default };