UNPKG

@vchatcloud/react-ui-kit

Version:

VChatCloud UI Kit for react integration

16 lines (15 loc) 665 B
interface ChattingProps { readonly onDisconnect?: () => void; /** * 지정할 곳의 `Selector`를 입력하거나, `DOMElement`객체를 전달합니다. * * 새 비밀 채팅방을 입장할 경우 `createPortal`을 통해 * 비밀채팅방을 표시할 곳을 설정합니다. * * 지정하지 않은 상태에서 비밀채팅방을 생성하거나 입장하는 경우 * 오류가 발생할 수 있습니다. */ readonly privateContainer?: string | HTMLElement; } declare const Chatting: ({ onDisconnect, privateContainer, }: ChattingProps) => import("react/jsx-runtime").JSX.Element; export default Chatting;