UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

10 lines (9 loc) 373 B
import React from 'react'; export interface AdaptiveContextValue { isDesktop: boolean; isTablet: boolean; isMobile: boolean; } export declare const AdaptiveContext: React.Context<AdaptiveContextValue>; export declare const AdaptiveProvider: React.FC<AdaptiveContextValue & React.PropsWithChildren>; export declare const useAdaptive: () => AdaptiveContextValue;