UNPKG

@cobuildlab/8base-chat

Version:

Chat component that uses 8base

12 lines (11 loc) 651 B
/// <reference types="hoist-non-react-statics" /> import React from 'react'; import { IChatContext } from 'context'; interface IChatWindowProps extends Pick<IChatContext, 'setChannel' | 'setTabs' | 'setSidebarVisibility' | 'user' | 'isSidebarVisible' | 'channelMembersFilter'> { channelIdentityId?: string; isTab?: boolean; isTabCollapsed?: boolean; style?: React.CSSProperties; } declare const _default: ((props: Pick<IChatWindowProps, "style" | "channelIdentityId" | "isTab" | "isTabCollapsed">) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<React.ComponentType<IChatWindowProps>, {}>; export default _default;