react-pro-form
Version:
react-progressive-form ui
15 lines (12 loc) • 527 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import React from 'react';
declare function ProgressiveFormRoot({ children }: React.PropsWithChildren<{}>): react_jsx_runtime.JSX.Element;
declare const ProgressiveForm: typeof ProgressiveFormRoot & {
Step: typeof Step;
};
interface Step {
depends?: Record<string, any> | string[] | string;
isError?: boolean;
}
declare function Step({ depends, isError, children }: React.PropsWithChildren<Step>): react_jsx_runtime.JSX.Element;
export { ProgressiveForm };