@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
16 lines (15 loc) • 491 B
TypeScript
export declare enum AppTab {
CHATS = "chats",
USERS = "users"
}
export interface ActiveTabsStoreState {
activeTab: AppTab;
setActiveTab: (activeTab: AppTab) => void;
resetActiveTab: () => void;
}
export declare const activeTabsInitialState: {
activeTab: AppTab;
};
declare const useActiveTabsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ActiveTabsStoreState>>;
export declare const resetActiveTabs: () => void;
export default useActiveTabsStore;