UNPKG

@cobuildlab/8base-chat

Version:

Chat component that uses 8base

11 lines (10 loc) 575 B
/// <reference types="hoist-non-react-statics" /> import React from 'react'; import { IChatContext } from 'context'; import { SectionsConfig } from 'types'; interface ISidebarProps extends Pick<IChatContext, 'setChannel' | 'user' | 'openedChannel' | 'usersFilter' | 'channelMembersFilter'> { sections: SectionsConfig; onClose: (() => void) | undefined; } declare const _default: ((props: Pick<ISidebarProps, "onClose" | "sections">) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<React.ComponentType<ISidebarProps>, {}>; export default _default;