File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
packages/pf4-component-mapper/src/files Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,23 @@ export interface WizardNextStepMapper {
28
28
29
29
export type WizardNextStep = string | WizardNextStepMapper | WizardNextStepFunction ;
30
30
31
+ export interface SelectNextFunction {
32
+ ( nextStep : WizardNextStep , getState : Function ) : string ;
33
+ }
34
+
35
+ export interface HandleNextFunction {
36
+ ( nextStep : string ) : void ;
37
+ }
38
+
31
39
export interface WizardButtonsProps {
32
- ConditionalNext : React . ComponentType ;
33
- SubmitButton : React . ComponentType ;
34
- SimpleNext : React . ComponentType ;
35
- formOptions : FormOptions ;
36
40
disableBack ?: boolean ;
37
- handlePrev : any ;
38
- nextStep ?: string | number ;
39
- FieldProvider ?: React . ComponentType ;
40
- handleNext : any ;
41
+ handlePrev : Function ;
42
+ nextStep ?: WizardNextStep ;
43
+ handleNext : HandleNextFunction ;
41
44
buttonsClassname ?: string ;
42
- buttonLabels : AnyObject ;
43
- renderNextButton : any ;
45
+ buttonLabels : WizardButtonLabels ;
46
+ renderNextButton : Function ;
47
+ selectNext : SelectNextFunction ;
44
48
}
45
49
46
50
export interface WizardField {
You can’t perform that action at this time.
0 commit comments