@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
13 lines (10 loc) • 335 B
TypeScript
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;
}
export type { StepperProps };