UNPKG

@laurelis/react-simple-gallery

Version:
22 lines (18 loc) 732 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { ImgHTMLAttributes, ReactElement } from 'react'; interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> { key: string | number; src: string; className?: string; } declare function Image({ ...rest }: ImageProps): react_jsx_runtime.JSX.Element; interface ImageGalleryProps { children: ReactElement<ImageProps>[]; lazyLoading?: boolean; keyboard?: boolean; arrowButtons?: boolean; swipeable?: boolean; className?: string; } declare function ImageGallery({ children, lazyLoading, keyboard, arrowButtons, swipeable, className, }: ImageGalleryProps): react_jsx_runtime.JSX.Element; export { Image, ImageGallery as default };