@navinc/base-react-components
Version:
Nav's Pattern Library
17 lines (16 loc) • 460 B
TypeScript
/// <reference types="react" />
import { IconName } from './icons/index.js';
type FlowStep = {
name: string;
route: string;
icon: IconName;
};
type FlowStepsProps = {
currentPath: string;
flow: FlowStep[];
endLocation?: FlowStep;
'data-testid'?: string;
className?: string;
};
export declare const FlowSteps: ({ currentPath, flow, endLocation, "data-testid": dataTestid, className, }: FlowStepsProps) => JSX.Element;
export {};