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
30 lines (29 loc) • 754 B
TypeScript
import React from "react";
import { ImageType } from "../../base";
import { ImageBubbleStyleInterface } from "./ImageBubbleStyle";
export interface CometChatImageBubbleInterface {
/**
* image url pass as {uri: "dummyUrl"}
*/
imageUrl: ImageType;
/**
*
*
* @type {ImageType}
* @description thumbnail image
*/
thumbnailUrl?: ImageType;
/**
* place holder image
*/
placeHolderImage?: ImageType;
/**
* custom logic on touch of image
*/
onPress?: Function;
/**
* style object of type ImageBubbleStyleInterface
*/
style?: ImageBubbleStyleInterface;
}
export declare const CometChatImageBubble: (props: CometChatImageBubbleInterface) => React.JSX.Element;