Skip to main content
Version: 1.0.4

ICarouselItemsProps

@spartanfx/react v1.0.4


@spartanfx/react / ICarouselItemsProps

Interface: ICarouselItemsProps<T>

Props for items-driven mode where the carousel manages its own items.

Extends

  • ICarouselBaseProps

Type Parameters

T

T = unknown

The type of data in each carousel item

Properties

PropertyTypeDescription
itemsICarouselItem<T>[]Array of items to display in the carousel.
renderItem(item, index, isActive) => ReactNodeRender function for each item.