Skip to content

Commit

Permalink
chore: added description to onIndexChange prop
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Jun 13, 2020
1 parent 1472e36 commit 48c552a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ export interface PaperOnboardingProps
>,
Partial<PaperOnboardingIndicatorConfig>,
Partial<PaperOnboardingCloseButtonConfig> {
/**
* Callback when index change.
* @type {() => void}
* @default noop
*/
onIndexChange?: (index: number) => void;
/**
* Array of pages/slides to present.
Expand Down

0 comments on commit 48c552a

Please sign in to comment.