UNPKG

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

32 lines (31 loc) 840 B
import React from "react"; import { ImageType } from "../../base/Types"; import { VideoBubbleStyleInterface } from "./VideoBubbleStyle"; export interface CometChatVideoBubbleInterface { /** * url for video */ videoUrl: string; /** * thumbnail url for bubble */ thumbnailUrl?: ImageType; /** * placeholder image */ placeholderImage?: ImageType; /** * style object of type VideoBubbleStyleInterface */ style?: VideoBubbleStyleInterface; /** * custom play icon */ playIcon?: ImageType; /** * callback function to be executed when play button clicked. * function will receive an videoUrl as parameter. */ onPress?: Function; } export declare const CometChatVideoBubble: (props: CometChatVideoBubbleInterface) => React.JSX.Element;