UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

27 lines (26 loc) 996 B
import React from 'react'; import { BaseMessageProps, renderUserProfileProps } from '../baseMessage'; import type { ImageMessageType } from '../types/messageType'; export interface ImageMessageProps extends BaseMessageProps { imageMessage: ImageMessageType; prefix?: string; style?: React.CSSProperties; className?: string; bubbleClass?: string; type?: 'primary' | 'secondly'; onClickImage?: (url: string) => void; nickName?: string; renderUserProfile?: (props: renderUserProfileProps) => React.ReactNode; imgProps?: React.ImgHTMLAttributes<HTMLImageElement>; } export interface ImagePreviewProps { visible: boolean; previewImageUrl: string; alt?: string; onCancel?: () => void; } export declare const ImagePreview: (props: ImagePreviewProps) => import("react/jsx-runtime").JSX.Element; declare const _default: ((props: ImageMessageProps) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export default _default;