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 {
2828
2929export type WizardNextStep = string | WizardNextStepMapper | WizardNextStepFunction ;
3030
31+ export interface SelectNextFunction {
32+ ( nextStep : WizardNextStep , getState : Function ) : string ;
33+ }
34+
35+ export interface HandleNextFunction {
36+ ( nextStep : string ) : void ;
37+ }
38+
3139export interface WizardButtonsProps {
32- ConditionalNext : React . ComponentType ;
33- SubmitButton : React . ComponentType ;
34- SimpleNext : React . ComponentType ;
35- formOptions : FormOptions ;
3640 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 ;
4144 buttonsClassname ?: string ;
42- buttonLabels : AnyObject ;
43- renderNextButton : any ;
45+ buttonLabels : WizardButtonLabels ;
46+ renderNextButton : Function ;
47+ selectNext : SelectNextFunction ;
4448}
4549
4650export interface WizardField {
You can’t perform that action at this time.
0 commit comments