UNPKG

@spark-ui/progress-tracker

Version:

A progress tracker component is a visual navigation element typically used to display progress or guide user through a multi-step process.

13 lines (12 loc) 456 B
import { type ComponentPropsWithRef, type ReactNode } from 'react'; export type ProgressTrackerStepProps = ComponentPropsWithRef<'li'> & ({ disabled?: boolean; children: ReactNode; } | { disabled?: boolean; 'aria-label': string; }); export declare const ProgressTrackerStep: { ({ disabled, children, "aria-label": ariaLabel, className, ref, ...rest }: ProgressTrackerStepProps): import("react").JSX.Element; displayName: string; };