MCPcopy Create free account
hub / github.com/formkit/formkit / setStepName

Function setStepName

packages/addons/src/plugins/multiStep/multiStepPlugin.ts:623–626  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

621 setNodePositionProps(node.props.steps)
622
623 const setStepName = () => {
624 childNode.props.stepName =
625 childNode.props.label || camel2title(childNode.name)
626 }
627 setStepName()
628 childNode.on('prop:label', setStepName)
629 childNode.props.errorCount = 0

Callers 1

multiStepPluginFunction · 0.85

Calls 1

camel2titleFunction · 0.85

Tested by

no test coverage detected