UNPKG

@gpa-gemstone/react-interactive

Version:
20 lines (19 loc) 558 B
interface IStep { short: string; long: string; id: string | number; } interface IProps { steps: IStep[]; activeStep: string | number; height?: string | number; width?: string | number; onClick?: (currentStep: string | number, clickedStep: string | number) => void; } /** * Functional component representing a progress bar with steps. * @param props - Props for configuring the progress bar. * @returns JSX elements for the progress bar. */ declare function ProgressBar(props: IProps): JSX.Element; export default ProgressBar;