@clerk/clerk-js
Version:
Clerk JS library
19 lines (18 loc) • 485 B
TypeScript
import React from 'react';
type WizardProps = React.PropsWithChildren<{
step: number;
}>;
type UseWizardProps = {
defaultStep?: number;
onNextStep?: () => void;
};
export declare const useWizard: (params?: UseWizardProps) => {
nextStep: () => void;
prevStep: () => void;
goToStep: (i: number) => void;
props: {
step: number;
};
};
export declare const Wizard: (props: WizardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
export {};