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

37 lines (36 loc) 1.14 kB
import React from 'react'; export interface ContentProps { title?: React.ReactNode; holderRef?: React.Ref<HTMLDivElement>; style?: React.CSSProperties; prefixCls: string; className?: string; onMouseDown?: React.MouseEventHandler; onMouseUp?: React.MouseEventHandler; sentinelStyle?: React.CSSProperties; visible: boolean; forceRender: boolean; closable?: boolean; onClose?: (e: React.SyntheticEvent) => void; closeIcon?: React.ReactNode; bodyStyle?: React.CSSProperties; bodyProps?: any; children?: React.ReactNode; footer?: React.ReactNode; width?: number | string; height?: number | string; modalRender?: (node: React.ReactNode) => React.ReactNode; onVisibleChanged: (visible: boolean) => void; motionName?: string; mousePosition?: { x: number; y: number; } | null; destroyOnClose?: boolean; } export type ContentRef = { focus: () => void; changeActive: (next: boolean) => void; }; declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<ContentRef>>; export default Content;