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
25 lines (24 loc) • 801 B
TypeScript
/**
* @class MessagePreviewConfiguration
* @description MessagePreviewConfiguration class is used for defining the MessagePreview templates.
* @param {String} iconURL
* @param {String} text
* @param {Object} tail
* @param {Function} onItemClick
* @param {Number} id
*/
export class MessagePreviewConfiguration {
constructor({ messagePreviewTitle, messagePreviewSubtitle, closeIconURL, onCloseClick, style, }: {
messagePreviewTitle?: any;
messagePreviewSubtitle?: any;
closeIconURL?: any;
onCloseClick?: any;
style?: MessagePreviewStyle;
});
messagePreviewTitle: any;
messagePreviewSubtitle: any;
closeIconURL: any;
onCloseClick: any;
style: MessagePreviewStyle;
}
import { MessagePreviewStyle } from "./MessagePreviewStyle";