UNPKG

@connectycube/chat-widget

Version:

A React component that seamlessly integrates ConnectyCube's real-time chat capabilities into your web applications. This widget offers an out-of-the-box solution for embedding chat features—such as instant messaging, user presence, and file sharing—withou

28 lines (27 loc) 1.28 kB
export type AppInterfaceStoreProps = { opened: boolean; splitView: boolean; showOnlineUsersTab: boolean; hideNewChatButton: boolean; hideNewUserChatOption: boolean; hideNewGroupChatOption: boolean; }; export interface AppInterfaceStoreState extends AppInterfaceStoreProps { setOpened: (opened: boolean) => void; setSplitView: (splitView: boolean) => void; setShowOnlineUsersTab: (showOnlineUsersTab: boolean) => void; setHideNewChatButton: (hideNewChatButton: boolean) => void; setHideNewUserChatOption: (hideNewUserChatOption: boolean) => void; setHideNewGroupChatOption: (hideNewGroupChatOption: boolean) => void; resetOpened: () => void; resetSplitView: () => void; resetShowOnlineUsersTab: () => void; resetHideNewChatButton: () => void; resetHideNewUserChatOption: () => void; resetHideNewGroupChatOption: () => void; } export declare const appInterfaceStoreInitialState: AppInterfaceStoreProps; declare const useAppInterfaceStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppInterfaceStoreState>>; export declare const setAppInterfaceStore: (state: Partial<AppInterfaceStoreProps>) => void; export declare const resetAppInterfaceStore: () => void; export default useAppInterfaceStore;