formik-pf
Advanced tools
Comparing version 0.0.1-alpha4 to 0.0.1-alpha5
@@ -13,2 +13,8 @@ import * as React from 'react'; | ||
validationSchema?: any | (() => any); | ||
/** Tells Formik to validate the form on each input's onChange event */ | ||
validateOnChange?: boolean; | ||
/** Tells Formik to validate the form on each input's onBlur event */ | ||
validateOnBlur?: boolean; | ||
/** Tells Formik to validate upon mount */ | ||
validateOnMount?: boolean; | ||
/** Can change the Next button text. If nextButtonText is also set for the Wizard, this step specific one overrides it. */ | ||
@@ -25,3 +31,3 @@ nextButtonText?: React.ReactNode; | ||
}; | ||
declare type FormikWizardProps = InternalWizardProps & Pick<FormikConfig<FormikValues>, 'initialValues' | 'onSubmit' | 'onReset' | 'enableReinitialize'> & { | ||
declare type FormikWizardProps = InternalWizardProps & Pick<FormikConfig<FormikValues>, 'initialValues' | 'onSubmit' | 'onReset' | 'enableReinitialize' | 'validateOnChange' | 'validateOnBlur' | 'validateOnMount'> & { | ||
steps: FormikWizardStep[]; | ||
@@ -28,0 +34,0 @@ }; |
@@ -13,2 +13,8 @@ import * as React from 'react'; | ||
validationSchema?: any | (() => any); | ||
/** Tells Formik to validate the form on each input's onChange event */ | ||
validateOnChange?: boolean; | ||
/** Tells Formik to validate the form on each input's onBlur event */ | ||
validateOnBlur?: boolean; | ||
/** Tells Formik to validate upon mount */ | ||
validateOnMount?: boolean; | ||
/** Can change the Next button text. If nextButtonText is also set for the Wizard, this step specific one overrides it. */ | ||
@@ -25,3 +31,3 @@ nextButtonText?: React.ReactNode; | ||
}; | ||
declare type FormikWizardProps = InternalWizardProps & Pick<FormikConfig<FormikValues>, 'initialValues' | 'onSubmit' | 'onReset' | 'enableReinitialize'> & { | ||
declare type FormikWizardProps = InternalWizardProps & Pick<FormikConfig<FormikValues>, 'initialValues' | 'onSubmit' | 'onReset' | 'enableReinitialize' | 'validateOnChange' | 'validateOnBlur' | 'validateOnMount'> & { | ||
steps: FormikWizardStep[]; | ||
@@ -28,0 +34,0 @@ }; |
@@ -44,2 +44,8 @@ import * as React from 'react'; | ||
validationSchema?: any | (() => any); | ||
/** Tells Formik to validate the form on each input's onChange event */ | ||
validateOnChange?: boolean; | ||
/** Tells Formik to validate the form on each input's onBlur event */ | ||
validateOnBlur?: boolean; | ||
/** Tells Formik to validate upon mount */ | ||
validateOnMount?: boolean; | ||
/** Can change the Next button text. If nextButtonText is also set for the Wizard, this step specific one overrides it. */ | ||
@@ -56,3 +62,3 @@ nextButtonText?: React.ReactNode; | ||
}; | ||
declare type FormikWizardProps = InternalWizardProps & Pick<FormikConfig<FormikValues>, 'initialValues' | 'onSubmit' | 'onReset' | 'enableReinitialize'> & { | ||
declare type FormikWizardProps = InternalWizardProps & Pick<FormikConfig<FormikValues>, 'initialValues' | 'onSubmit' | 'onReset' | 'enableReinitialize' | 'validateOnChange' | 'validateOnBlur' | 'validateOnMount'> & { | ||
steps: FormikWizardStep[]; | ||
@@ -59,0 +65,0 @@ }; |
{ | ||
"name": "formik-pf", | ||
"version": "0.0.1-alpha4", | ||
"version": "0.0.1-alpha5", | ||
"description": "A UI library that provides formik bindings with PF components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
390399
70
1139