File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/react-elastic-carousel Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -760,6 +760,7 @@ Carousel.defaultProps = {
760760 autoPlaySpeed : 2000 ,
761761
762762 // callbacks
763+ onChange : noop ,
763764 onNextEnd : noop ,
764765 onPrevEnd : noop ,
765766 onNextStart : noop ,
Original file line number Diff line number Diff line change 11import * as React from "react" ;
22
3- type RenderArrowProps = {
3+ export type RenderArrowProps = {
44 type : "PREV" | "NEXT" ;
55 onClick : ( ) => void ;
66 isEdge : boolean ;
77} ;
88
9- type RenderPaginationProps = {
9+ export type RenderPaginationProps = {
1010 pages : number [ ] ;
1111 activePage : number ;
1212 // The onClick event that sets the state of the carousel and sends
1313 // it to a specific page.
1414 onClick : ( indicatorId : string ) => void ;
1515} ;
1616
17- type ItemObject = {
17+ export type ItemObject = {
1818 // Children's props
1919 object : any ;
2020 index : number ;
2121} ;
2222
23- type Breakpoint = {
23+ export type Breakpoint = {
2424 itemsToScroll : number ;
2525 itemsToShow : number ;
2626} ;
You can’t perform that action at this time.
0 commit comments