@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
18 lines (14 loc) • 502 B
text/typescript
import { CometChat } from "@cometchat/chat-sdk-react-native";
/**
* @class StickerKeyboardConfiguration
* @description StickerKeyboardConfiguration class is used for defining the StickerKeyboard templates.
* @param {Function} onPress
* @param {Object} style
*/
class StickerKeyboardConfiguration {
onPress: (item: CometChat.CustomMessage) => void;
constructor({ onPress = (item: CometChat.CustomMessage) => {} }) {
this.onPress = onPress;
}
}
export { StickerKeyboardConfiguration };