UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

8 lines (7 loc) 413 B
import React from 'react'; export interface HeaderUserInfoContextValue { setIsOpen: React.Dispatch<React.SetStateAction<boolean>>; } export declare const HeaderUserInfoContext: React.Context<HeaderUserInfoContextValue | null>; export declare const HeaderUserInfoProvider: React.FC<HeaderUserInfoContextValue & React.PropsWithChildren>; export declare function useHeaderUserInfo(): HeaderUserInfoContextValue;