UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

22 lines (21 loc) 784 B
import React from "react"; import { ReceiptStyles } from "./style"; import { MessageReceipt } from "../../constants/UIKitConstants"; /** * Props for the CometChatReceipt component. * * CometChatReceipt is a component used to display the status of a message using a custom symbol. * It returns an appropriate symbol depending on the message status and can be customized via style. * */ export interface CometChatReceiptInterface { /** * The message receipt object representing the status of the message. */ receipt?: MessageReceipt; /** * Custom styles to override or extend the default receipt styles. */ style?: Partial<ReceiptStyles>; } export declare const CometChatReceipt: (props: CometChatReceiptInterface) => React.JSX.Element | null;