@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
28 lines (27 loc) • 700 B
TypeScript
import React from "react";
/**
* Props for the CometChatVideoPlayer component.
*/
export interface CometChatVideoPlayerProps {
/**
* URI of the video to play.
*/
videoUri: string;
/**
* Flag indicating whether the video player is visible.
*/
isVisible: boolean;
/**
* Callback function invoked when the video player is closed.
*/
onClose: () => void;
/**
* Callback function invoked when the video has loaded.
*/
onLoad: () => void;
/**
* Optional color for the loading icon.
*/
loadingIconColor?: string;
}
export declare const CometChatVideoPlayer: (props: CometChatVideoPlayerProps) => React.JSX.Element;