UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

34 lines (33 loc) 1.35 kB
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes } from 'react'; import type { ImageProps } from '../Image/Image'; export type ImageSliderProps = { /** Display buttons to navigate to the previous or next image. */ controls?: boolean; /** Label for the image if you need to translate the alt text. */ imageLabel?: string; /** The set of images to display. */ images: ImageProps[]; /** The label for the ‘next’ button */ nextLabel?: string; /** The label for the ‘previous’ button */ previousLabel?: string; } & HTMLAttributes<HTMLDivElement>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-media-image-slider--docs Image Slider docs at Amsterdam Design System} */ export declare const ImageSlider: import("react").ForwardRefExoticComponent<{ /** Display buttons to navigate to the previous or next image. */ controls?: boolean; /** Label for the image if you need to translate the alt text. */ imageLabel?: string; /** The set of images to display. */ images: ImageProps[]; /** The label for the ‘next’ button */ nextLabel?: string; /** The label for the ‘previous’ button */ previousLabel?: string; } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;