Skip to content

Comments

feat: custom initial step#620

Open
axelrindle wants to merge 2 commits intojuliencrn:masterfrom
axelrindle:feature/useStep/initial-step
Open

feat: custom initial step#620
axelrindle wants to merge 2 commits intojuliencrn:masterfrom
axelrindle:feature/useStep/initial-step

Conversation

@axelrindle
Copy link

Adds a second parameter initialStep: number = 1 to the useStep hook which allows the user to define a custom initial step between 1 and maxStep.

@changeset-bot
Copy link

changeset-bot bot commented Jul 24, 2024

🦋 Changeset detected

Latest commit: 41c3bc3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
usehooks-ts Minor
www Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Darijusch
Copy link

i would like to see this in usehooks as well, could you cover your new initialStep with unit tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants