Skip to content

Carousel properties

Summary


Props table


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


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)



arrowClassName

Type
Default
string
/


Custom classname applied on the Carousel arrows



dotClassName

Type
Default
string
/


Custom classname applied on every Carousel dot