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) 734 B
import { ViewStyle } from 'react-native'; import React from 'react'; import { ChatBubbleRenderProps } from '../../../../types.js'; import { Message, ConversationType } from 'softchatjs-core'; type DefaultProps = { message: Message; animatedStyles: ViewStyle; position: "left" | "right"; conversationType: ConversationType; renderStateIcon: (color: string) => JSX.Element; chatUserId: string; recipientId: string; renderChatBubble?: (props: ChatBubbleRenderProps) => void; onScrollToIndex: (messageId: string) => void; isPending?: boolean; threaded?: boolean; retryUpload: () => void; }; declare function Default(props: DefaultProps): React.JSX.Element; export { Default as default };