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

31 lines (29 loc) 959 B
import { ImageType } from '../../base'; /** * @class ReceiptConfiguration * @description ReceiptConfiguration class is used for defining the MessageReceipt template. */ export declare class ReceiptConfiguration { waitIcon?: ImageType; sentIcon?: ImageType; readIcon?: ImageType; deliveredIcon?: ImageType; errorIcon?: ImageType; /** * * @param {Object} param0 * @field {any} waitIcon - icon for Wait * @field {any} sentIcon - icon for Sent * @field {any} readIcon - icon for Read * @field {any} deliveredIcon - icon for Delivered * @field {any} errorIcon - icon for Error */ constructor({ waitIcon, sentIcon, readIcon, deliveredIcon, errorIcon, }: ReceiptConfigurationInterface); } export interface ReceiptConfigurationInterface { waitIcon?: ImageType; sentIcon?: ImageType; readIcon?: ImageType; deliveredIcon?: ImageType; errorIcon?: ImageType; }