formkit / docs-content

The content (.md format) — and only the content — for the FormKit documentation site.
17 stars 30 forks source link

prev-label props for multiStep form should be name previous-label #83

Closed thriist closed 1 year ago

thriist commented 1 year ago

Hi there, In the doc (https://github.com/formkit/docs-content/blob/master/plugins/multi-step.md), to customise the label of the previous button of a multiStep form the props is named prev-label.

As i tried to use it, i notice that in "packages/addons/src/plugins/multiStep/sections/stepPrevious.ts" the props name is "previous-label"

that's it, i can make the PR if you want but it would be my first on a public rep and it is a bit scarry ^^'

Regards

andrew-boyd commented 1 year ago

Go for it! Will happily merge a PR for this — get you that contributor credit on the repo. 😄