UNPKG

dgz-ui-shared

Version:

Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library

22 lines 761 B
import { type HTMLAttributes, type ReactNode } from 'react'; export interface GalleryItem { id: string; src: string; thumbnail: string; alt: string; title?: string; } export interface GalleryActionButton { icon: ReactNode; label: string; onClick: (image: GalleryItem) => void; className?: string; } export type MyGalleryProps = HTMLAttributes<HTMLDivElement> & { images: GalleryItem[]; fallbackImage?: string; actionButtons?: GalleryActionButton[]; hasInfo?: true; }; export declare const MyGallery: import("react").MemoExoticComponent<({ images, actionButtons, fallbackImage, className, hasInfo, ...props }: MyGalleryProps) => import("react/jsx-runtime").JSX.Element>; //# sourceMappingURL=MyGallery.d.ts.map