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

20 lines 945 B
import { ChatConfigurator } from "../../shared/framework"; import { CollaborativeWhiteboardExtensionDecorator } from "./CollaborativeWhiteboardExtensionDecorator"; export class CollaborativeWhiteboardExtension { collaborativeWhiteBoardConfigurationInterface; constructor(collaborativeWhiteboardConfigurationConfiguration) { if (collaborativeWhiteboardConfigurationConfiguration != null) { this.collaborativeWhiteBoardConfigurationInterface = collaborativeWhiteboardConfigurationConfiguration; } } /** * enable * @description enables the Text moderation extension which includes Data profanity and data masking */ enable() { ChatConfigurator.enable((dataSource) => { return new CollaborativeWhiteboardExtensionDecorator(dataSource, this.collaborativeWhiteBoardConfigurationInterface); }); } } //# sourceMappingURL=CollaborativeWhiteboardExtension.js.map