@selfdecode/sd-component-library 4.0.33 → 4.0.34-test1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/progress-steps/interfaces.d.ts +5 -0
- package/lib/components/progress-steps/progress-step/interfaces.d.ts +1 -0
- package/lib/components/progress-steps/progress-step/progress-step.d.ts +1 -1
- package/lib/components/progress-steps/progress-steps.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -19,4 +19,9 @@ export interface ProgressStepsProps extends BaseComponentProps {
|
|
|
19
19
|
* The width of the progress steps component.
|
|
20
20
|
*/
|
|
21
21
|
width?: Array<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Callback for clicking on a step
|
|
24
|
+
* @param step Step index
|
|
25
|
+
*/
|
|
26
|
+
onStepClick?: (step: number) => void;
|
|
22
27
|
}
|
|
@@ -3,4 +3,4 @@ import { ProgressStepsProps } from "./interfaces";
|
|
|
3
3
|
/**
|
|
4
4
|
* Progress bar component. Accept step and steps attributes.
|
|
5
5
|
*/
|
|
6
|
-
export declare const ProgressSteps: React.
|
|
6
|
+
export declare const ProgressSteps: React.FC<ProgressStepsProps>;
|