ICarouselItemsProps
@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
| Property | Type | Description |
|---|---|---|
items | ICarouselItem<T>[] | Array of items to display in the carousel. |
renderItem | (item, index, isActive) => ReactNode | Render function for each item. |