@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
23 lines • 784 B
TypeScript
import React from 'react';
export interface StepConfig {
id: string;
label: string;
description?: string;
icon?: React.ReactNode;
}
export interface StepperProps {
/** Step configurations */
steps: StepConfig[];
/** Current active step ID */
activeStep: string;
/** Completed step IDs */
completedSteps?: string[];
/** Orientation */
orientation?: 'horizontal' | 'vertical';
/** Allow clicking on steps to navigate */
clickable?: boolean;
/** Callback when step is clicked */
onStepClick?: (stepId: string) => void;
}
export default function Stepper({ steps, activeStep, completedSteps, orientation, clickable, onStepClick, }: StepperProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Stepper.d.ts.map