Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@comparaonline/ui-wizard-step-manager

Package Overview
Dependencies
Maintainers
12
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comparaonline/ui-wizard-step-manager

This component is a navigation form manager. It allows you to track the steps for a conversational-like form and render the fields that are already configured.

  • 3.46.0
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by20%
Maintainers
12
Weekly downloads
 
Created
Source

@comparaonline/ui-wizard-form-manager

This component is a navigation form manager. It allows you to track the steps for a conversational-like form and render the fields that are already configured.

Installation

yarn add @comparaonline/ui-wizard-form-manager

Usage

This component receives a children function that will inyect the right props to work with WizardFormStepper and WizardForm.

Example

const render = () => (
  <WizardFormManager<FormValues>
    onSubmit={onSubmit}
    steps={steps}
    initialValues={{}}
  >
    {({ onSubmit, initialValues, ...props }) => (
      <>
        <WizardFormStepper
          activeStepId={props.currentStep.id}
          stepGroups={{}}
        />
        <WizardForm
          {...props}
          formProps={{
            onSubmit: onSubmit,
            initialValues: initialValues
          }}
        />
      </>
    )}
  </WizardFormManager>
);

FAQs

Package last updated on 24 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc