gallery-tour
Version:
A modern, responsive, Airbnb-style gallery component for React.
19 lines (18 loc) • 578 B
TypeScript
import React from 'react';
import { GalleryGrid } from './GalleryGrid';
import { GallerySectionsView } from './GallerySectionsView';
import GalleryModal from './GalleryModal';
export interface GalleryImage {
url: string[];
label?: string;
section?: string;
}
interface GalleryProps {
images: string[] | GalleryImage[];
mode?: 'grid' | 'sections';
buttonLabel?: string;
customModalButtons?: React.ReactNode;
sectionsTitle?: string;
}
export declare const Gallery: React.FC<GalleryProps>;
export { GalleryGrid, GallerySectionsView, GalleryModal };