Skip to content

Carousel properties

Summary


Props table


Parameter
Type
Default
(JSX.Element | string)[]
[]
(newValue: number) => void
() => {}
number
0


Props list



elements

Type
Default
(JSX.Element | string)[]
[]


Carousel elements



onChange

Type
Default
(newValue: number) => void
() => {}


Callback triggered when Carousel component input value is changed by the user



value

Type
Default
number
0


Initial element to show (as index)