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

36 lines (35 loc) 827 B
import React from "react"; import { FileBubbleStyle, FileBubbleStyleInterface } from "./FileBubbleStyle"; import { ImageType } from "../../base/Types"; export interface CometChatFileBubbleInterface { /** * url of file */ fileUrl: string; /** * file title */ title: string; /** * description for file */ subtitle?: string; /** * style object of type FileBubbleStyle */ style?: FileBubbleStyleInterface; /** * file icon */ icon?: ImageType; } export declare const CometChatFileBubble: { ({ fileUrl, title, icon, style, subtitle }: CometChatFileBubbleInterface): React.JSX.Element; defaltProps: { fileUrl: string; title: string; subtitle: string; style: FileBubbleStyle; icon: any; }; };