@prezly/theme-kit-ui
Version:
UI components for Prezly themes
22 lines (21 loc) • 740 B
TypeScript
import type { NewsroomGallery } from '@prezly/sdk';
import type { UploadedImage } from '@prezly/uploadcare';
export declare function GalleryMedia({ gallery, className, intl }: GalleryMedia.Props): import("react/jsx-runtime").JSX.Element;
export declare namespace GalleryMedia {
interface Intl {
['videos.title']: string;
['images.title']: string;
}
interface DisplayedGallery {
name: NewsroomGallery['name'];
images: NewsroomGallery['images_number'];
videos: NewsroomGallery['videos_number'];
cover?: UploadedImage | null;
href: `/${string}`;
}
interface Props {
gallery: DisplayedGallery;
className?: string;
intl?: Partial<Intl>;
}
}