@bothub-chat/ui
Version:
Bothub UI Components
9 lines (8 loc) • 462 B
TypeScript
import React from 'react';
export interface SidebarUserInfoContextValue {
caps?: string;
}
export declare const SidebarUserInfoContext: React.Context<SidebarUserInfoContextValue>;
export declare const SidebarUserInfoProvider: React.FC<SidebarUserInfoContextValue & React.PropsWithChildren>;
export declare const useSidebarUserInfo: () => SidebarUserInfoContextValue;
export declare const SidebarUserInfoConsumer: React.Consumer<SidebarUserInfoContextValue>;