@selfdecode/sd-component-library 4.0.32 → 4.0.34

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.
@@ -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
  }
@@ -10,4 +10,5 @@ export interface ProgressStepProps {
10
10
  * The height and width of the step circle.
11
11
  */
12
12
  height?: number;
13
+ onClick?: () => void;
13
14
  }
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import { ProgressStepProps } from "./interfaces";
3
- export declare const ProgressStep: React.FunctionComponent<ProgressStepProps>;
3
+ export declare const ProgressStep: React.FC<ProgressStepProps>;
@@ -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.FunctionComponent<ProgressStepsProps>;
6
+ export declare const ProgressSteps: React.FC<ProgressStepsProps>;