@kadconsulting/dry
Version:
KAD Reusable Component Library
15 lines (14 loc) • 444 B
TypeScript
/// <reference types="react" />
export interface ProgressNavigationProps extends React.HTMLAttributes<HTMLElement> {
passProps?: object;
/** Support @testing-library/react `screen.getByTestId` */
'data-testid'?: string;
steps: {
id: string | number;
title: string;
text: string;
}[];
orientation?: 'horizontal' | 'vertical';
activeColor?: string;
onStepClick?: (index: number) => void;
}