UNPKG

@grandlinex/react-components

Version:
18 lines (17 loc) 454 B
import React from 'react'; export type Step = { message?: string; render?: () => React.ReactNode | undefined; action?: () => Promise<boolean>; buttonText: string; buttonTextBack?: string; }; declare function WizardStepper(props: { className?: string; title: string; steps: Step[]; initStep?: number; width?: number | string; onStep?: (pos: number) => void; }): React.JSX.Element; export default WizardStepper;