@helpwave/hightide
Version:
helpwave's component and theming library
29 lines (26 loc) • 854 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsForTranslation } from '../hooks/useTranslation.js';
import '../hooks/useLanguage.js';
import 'react';
type StepperBarTranslation = {
back: string;
next: string;
confirm: string;
};
type StepperInformation = {
step: number;
lastStep: number;
seenSteps: Set<number>;
};
type StepperBarProps = {
stepper: StepperInformation;
onChange: (step: StepperInformation) => void;
onFinish: () => void;
showDots?: boolean;
className?: string;
};
/**
* A Component for stepping
*/
declare const StepperBar: ({ overwriteTranslation, stepper, onChange, onFinish, showDots, className, }: PropsForTranslation<StepperBarTranslation, StepperBarProps>) => react_jsx_runtime.JSX.Element;
export { StepperBar, type StepperBarProps, type StepperInformation };