Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Feature Request: Hooks for stepForward & stepBackward #3

Description

@r-bt

Proposal

Expose a useStepProgress() hook which returns stepForward() & stepBackwards() to allow custom implementations of the Next and Previous Buttons

Reasoning

It would be great to separate some of the UI logic to allow better customization of the library. This way the buttonWrapperClass, primaryBtnClass, and secondaryBtnClass props can be removed and users can more easily make their own step forward / backwards navigation.

Other

If this is something you'd be interested in adding to the library, I'd be happy to submit a pull-request for it

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions