@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
19 lines (15 loc) • 574 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { AllHTMLAttributes } from 'react';
interface StepperProps extends AllHTMLAttributes<HTMLDivElement> {
length: number;
current?: number;
currentAs?: 'progress' | 'step';
getValueLabel?: ((current: number, length: number) => string) | null;
max?: number;
value?: number;
}
declare const Stepper: {
({ current, currentAs, getValueLabel, length, max, value, ...props }: StepperProps): react_jsx_runtime.JSX.Element;
displayName: string;
};
export { Stepper, type StepperProps };