@bothub-chat/ui
Version:
Bothub UI Components
18 lines (17 loc) • 751 B
TypeScript
import React from 'react';
import { ImageFullScreenData, ImageFullScreenDataItem } from './types';
export type ImageFullScreenCloseEventHandler = () => unknown;
export type ImageFullScreenChangeEventHandler = (item: ImageFullScreenDataItem) => unknown;
export interface ImageFullScreenProps extends Omit<React.ComponentProps<'div'>, 'onChange'> {
open: boolean;
data: ImageFullScreenData;
item?: string | ImageFullScreenDataItem;
author?: React.ReactNode;
toolbar?: React.ReactNode;
onChange?: ImageFullScreenChangeEventHandler;
onClose?: ImageFullScreenCloseEventHandler;
}
export declare const ImageFullScreen: React.FC<ImageFullScreenProps>;
export * from './types';
export * from './context';
export * from './styled';