form-test-victor
Version:
# Performant forms and wizard library for React
30 lines • 764 B
TypeScript
import { ReactNode } from 'react';
import { StepValidator } from '../types';
export interface StepProps {
children: ReactNode;
name: string;
onNext?: StepValidator;
noFooter?: boolean;
title?: string;
}
/**
* Step used in Wizard
* @param children Node
* @param name Step name
* @param onNext (optional) Function ran at click on next
* @param noFooter (optional) has footer if not specified`
* @param title Title of the step
* @example
* ```
* <Wizard>
* <Step name="StepOne" >
* 1
* </Step>
* <Step name="StepTwo" >
* 2
* </Step>
* </Wizard
* ``
*/
export declare function Step({ children, name, onNext, noFooter, title, }: StepProps): ReactNode;
//# sourceMappingURL=Step.d.ts.map