Skip to content

Commit

Permalink
feat: Add Typings for isPlaying of CarouselState (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
masaka88 committed Jan 31, 2022
1 parent 6bd61df commit 90e04a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ interface CarouselState {
readonly hasMasterSpinner: boolean
readonly imageErrorCount: number
readonly imageSuccessCount: number
readonly isPlaying: boolean
readonly lockOnWindowScroll: boolean
readonly masterSpinnerFinished: boolean
readonly masterSpinnerThreshold: number
Expand Down Expand Up @@ -79,7 +80,7 @@ interface CarouselProviderProps {
readonly disableKeyboard?: CarouselState['disableKeyboard']
readonly hasMasterSpinner?: CarouselState['hasMasterSpinner']
readonly interval?: number
readonly isPlaying?: boolean
readonly isPlaying?: CarouselState['isPlaying']
readonly lockOnWindowScroll?: CarouselState['lockOnWindowScroll']
readonly naturalSlideHeight: CarouselState['naturalSlideHeight']
readonly naturalSlideWidth: CarouselState['naturalSlideWidth']
Expand Down

0 comments on commit 90e04a7

Please sign in to comment.