import React from "react"; import { View } from "react-native"; import { useTheme } from "../../../theme"; import { Icon } from "../../icons/Icon"; import { CometChatTextBubbleText } from "../CometChatTextBubble/CometChatTextBubble"; import { DeletedBubbleStyle } from "./styles"; import { useCometChatTranslation } from "../../resources/CometChatLocalizeNew"; /** * Props for the CometChatDeletedBubble component. */ export interface CometChatDeletedBubbleInterface { /** * Text to be displayed in the deleted message bubble. */ text?: string; /** * Custom styles for the deleted bubble. */ style?: Partial; } /** * CometChatDeletedBubble is a component that displays a deleted message bubble. * It shows an icon along with the provided text. * * - Props for the component. * The rendered deleted message bubble. */ export const CometChatDeletedBubble = (props: CometChatDeletedBubbleInterface) => { const theme = useTheme(); const {t}=useCometChatTranslation() const { text = t("DELETE_MSG_TEXT"), style = {} } = props; return ( ); };