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
28 lines (27 loc) • 779 B
TypeScript
import React from 'react';
import { FontStyleInterface, ImageType } from '../../shared/base';
export interface SmartRepliesInterface {
customOutgoingMessageSound?: any;
enableSoundForMessages?: boolean;
onClose?: () => void;
replies?: any[];
style?: {
textBackground?: string;
textFont?: FontStyleInterface;
textColor?: string;
backgroundColor?: string;
iconTint?: string;
};
onClick?: (option: any) => void;
closeIcon?: ImageType;
}
declare const SmartRepliesView: {
(props: SmartRepliesInterface): React.JSX.Element;
defaultProps: {
customOutgoingMessageSound: any;
enableSoundForMessages: boolean;
style: {};
replies: any[];
};
};
export { SmartRepliesView };