UNPKG

958 BTypeScriptView Raw
1import './image-viewer.less';
2import { showMultiImageViewer, showImageViewer, clearImageViewer } from './methods';
3export type { ImageViewerProps, MultiImageViewerProps, MultiImageViewerRef, } from './image-viewer';
4export type { ImageViewerShowHandler } from './methods';
5declare const _default: import("react").FC<import("./image-viewer").ImageViewerProps> & {
6 Multi: import("react").ForwardRefExoticComponent<Omit<import("./image-viewer").ImageViewerProps, "image" | "renderFooter"> & {
7 images?: string[] | undefined;
8 defaultIndex?: number | undefined;
9 onIndexChange?: ((index: number) => void) | undefined;
10 renderFooter?: ((image: string, index: number) => import("react").ReactNode) | undefined;
11 } & import("react").RefAttributes<import("./slides").SlidesRef>> & {
12 show: typeof showMultiImageViewer;
13 };
14 show: typeof showImageViewer;
15 clear: typeof clearImageViewer;
16};
17export default _default;
18
\No newline at end of file