@gathertown/uikit-react-native
Version:
Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
13 lines (12 loc) • 547 B
TypeScript
import type { SendbirdFileMessage } from '@gathertown/uikit-utils';
type Props = {
fileMessage: SendbirdFileMessage;
deleteMessage: () => Promise<void>;
onClose: () => void;
onPressDownload?: (message: SendbirdFileMessage) => void;
onPressDelete?: (message: SendbirdFileMessage) => void;
headerShown?: boolean;
headerTopInset?: number;
};
declare const FileViewer: ({ headerShown, deleteMessage, headerTopInset, fileMessage, onPressDownload, onPressDelete, onClose, }: Props) => JSX.Element;
export default FileViewer;