softchatjs-react-native
Version:
React native UI SDK for softchatjs-core. Create a free account at: https://www.softchatjs.com
21 lines (18 loc) • 644 B
TypeScript
import { ViewStyle } from 'react-native';
import React from 'react';
import { ChatBubbleRenderProps } from '../../../../types.js';
import { Message } from 'softchatjs-core';
type StackedProps = {
message: Message;
animatedStyles: ViewStyle;
renderStateIcon: (color: string) => JSX.Element;
chatUserId: string;
recipientId: string;
myMessage: boolean;
renderChatBubble?: (props: ChatBubbleRenderProps) => void;
onScrollToIndex: (messageId: string) => void;
isPending?: boolean;
retryUpload: () => void;
};
declare function Stacked(props: StackedProps): React.JSX.Element;
export { Stacked as default };