UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

31 lines (30 loc) 989 B
import { JSX } from "react"; import { TextStyle, ViewStyle } from "react-native"; interface CollaborativeBubbleProps { /** Text displayed in bubble title */ title: string; /** Icon displayed in trailing position */ icon?: JSX.Element; /** Subtitle string displayed after title */ subtitle?: string; /** Button text */ buttonText?: string; /** URL to open collaborative document */ url: string; /** Style for title */ titleStyle?: TextStyle; /** Style for subtitle */ subtitleStyle?: TextStyle; /** Callback function when pressed */ onPress?: (url: string) => void; /** Image element */ image?: JSX.Element; /** Style for divider */ dividerStyle?: ViewStyle; /** Style for button container */ buttonViewStyle?: ViewStyle; /** Style for button text */ buttonTextStyle?: TextStyle; } export declare const CometChatCollaborativeBubble: (props: CollaborativeBubbleProps) => JSX.Element; export {};