UNPKG

mfg-ui-components

Version:

React UI library with reusable components

22 lines (21 loc) 520 B
import React from "react"; import "./ImageGallerySlider.scss"; type Slide = string | { src: string; caption?: string; }; interface ImageSliderProps { slides: Slide[]; caption?: string[]; showCaption?: boolean; autoPlay?: boolean; interval?: number; slidesToShow?: number; slideClass?: string; slideId?: string; btnText?: string; btnLink?: string; onClick?: () => void; } declare const ImageGallerySlider: React.FC<ImageSliderProps>; export default ImageGallerySlider;