goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
30 lines • 854 B
TypeScript
import { default as React } from 'react';
export interface StepperProps {
mode?: 'navigation' | 'wizard';
steps: {
stepNumber: number;
label: string;
stepLink?: string;
status?: 'completed' | 'active' | 'error' | 'inactive';
statusLink?: string;
description?: string;
content?: React.ReactNode;
icon?: React.ReactNode;
}[];
activeStep?: number;
onNext?: () => void;
onBack?: () => void;
onReset?: () => void;
finalActions?: React.ReactNode;
stepActions?: React.ReactNode;
styles?: {
orientation?: 'horizontal' | 'vertical';
theme?: string;
gap?: string;
padding?: string;
marginBottom?: string;
};
}
declare const Stepper: React.FC<StepperProps>;
export default Stepper;
//# sourceMappingURL=index.d.ts.map