smartstepper
Version:
smart-stepper is a powerful React component that simplifies the creation of multi-step forms with state management, validation, and a flexible UI approach. It utilizes a state machine concept to manage step transitions, ensuring a smooth and controlled us
8 lines (7 loc) • 524 B
TypeScript
import { ControllerProps, FieldValues } from 'react-hook-form';
import { IStepFormProps, IStepProps } from '../type';
declare const _default: (<T extends FieldValues = FieldValues>({ onSubmit, children, resolver, changeStepScrollMode, ...rest }: IStepFormProps<T>) => import("react/jsx-runtime").JSX.Element) & {
Step: ({ children }: IStepProps) => import("react/jsx-runtime").JSX.Element;
Controller: (props: Omit<ControllerProps, "control">) => import("react/jsx-runtime").JSX.Element;
};
export default _default;