react-native-chating-ui-kit
Version:
CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly
45 lines (44 loc) • 1.12 kB
TypeScript
import React from 'react';
import { CollaborativeBubbleStyle } from "./CollaborativeBubbleStyle";
import { ImageType } from "../../shared";
import { CollaborativeBubbleStyleInterface } from './CollaborativeBubbleStyle';
interface CollaborativeBubbleProps {
/**
* text displayed in bubble title
*/
title: string;
/**
* icon displayed in trailing position
*/
icon?: ImageType;
/**
* subtitle string displayed after title
*/
subTitle?: string;
/**
* button text
*/
buttonText?: string;
/**
* URL to open collaborative document
*/
url: string;
/**
* style object of class CollaborativeBubbleStyleInterface.
*/
style?: CollaborativeBubbleStyleInterface;
onTap?: Function;
}
export declare const CometChatCollaborativeBubble: {
(props: CollaborativeBubbleProps): React.JSX.Element;
defaultProps: {
title: string;
subTitle: string;
buttonText: string;
icon: any;
whiteboardURL: string;
loggedInUser: any;
style: CollaborativeBubbleStyle;
};
};
export {};