-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Additional render*Controls helpers (#966)
* feat: pass nextDisabled and previousDisabled to custom controls * feat: pass dotNavigationIndices to custom controls * docs: use new render props in storybook story * refactor: create new util to see where unbounded indices lie in the original (0 ≥ index > slideCount) range * chore: remove unnecessary comment
- Loading branch information
Showing
9 changed files
with
198 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'nuka-carousel': minor | ||
--- | ||
|
||
pass nextDisabled, previousDisabled, and dotNavigationIndices to render\*Controls callbacks to aid in the creation of custom controls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
9f88275
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nuka-carousel – ./
nuka-carousel-next.vercel.app
nuka-carousel-nuka-carousel.vercel.app
nuka-carousel-git-main-nuka-carousel.vercel.app