@bothub-chat/ui
Version:
Bothub UI Components
10 lines (9 loc) • 503 B
TypeScript
import React from 'react';
import { ImageFullScreenData, ImageFullScreenDataItem } from './types';
export interface ImageFullScreenContextValue {
data: ImageFullScreenData;
activeItem: ImageFullScreenDataItem | null;
}
export declare const ImageFullScreenContext: React.Context<ImageFullScreenContextValue>;
export declare const ImageFullScreenProvider: React.FC<ImageFullScreenContextValue & React.PropsWithChildren>;
export declare const useImageFullScreen: () => ImageFullScreenContextValue;