UNPKG

@armandoroman1016/react-multi-step-form

Version:

React Multi Step is a NPM package for easily building multi-step-forms with React. This package will provide you the Components and utilities to quickly build a multi-step-form.

17 lines (16 loc) 477 B
import * as React from "react"; import * as CSS from "csstype"; interface Step { component: React.ComponentType; name: string; } interface FormContainerProps { heading?: string; progressBar?: boolean; styles?: CSS.Properties; children?: React.ReactNode; steps: Step[]; transition?: string; } declare const FormContainer: ({ styles, steps, children, transition }: FormContainerProps) => JSX.Element; export default FormContainer;