Comparing version 0.6.0 to 0.6.1
@@ -72,3 +72,3 @@ import * as React from 'react'; | ||
*/ | ||
export declare type InjectedFormikProps<Props, Values = Props> = Props & FormikState<Values> & FormikActions<Props> & FormikHandlers; | ||
export declare type InjectedFormikProps<Props, Values> = Props & FormikState<Values> & FormikActions<Props> & FormikHandlers; | ||
/** | ||
@@ -87,2 +87,2 @@ * Formik actions + { props } | ||
} | ||
export default function formik<Props = {}, Values extends FormikValues = Props, Payload = Values>({displayName, mapPropsToValues, mapValuesToPayload, validationSchema, handleSubmit}: FormikConfig<Props, Values, Payload>): ComponentDecorator<Props, InjectedFormikProps<Props, Values>>; | ||
export default function formik<Props, Values extends FormikValues, Payload>({displayName, mapPropsToValues, mapValuesToPayload, validationSchema, handleSubmit}: FormikConfig<Props, Values, Payload>): ComponentDecorator<Props, InjectedFormikProps<Props, Values>>; |
@@ -72,3 +72,3 @@ import * as React from 'react'; | ||
*/ | ||
export declare type InjectedFormikProps<Props, Values = Props> = Props & FormikState<Values> & FormikActions<Props> & FormikHandlers; | ||
export declare type InjectedFormikProps<Props, Values> = Props & FormikState<Values> & FormikActions<Props> & FormikHandlers; | ||
/** | ||
@@ -87,2 +87,2 @@ * Formik actions + { props } | ||
} | ||
export default function formik<Props = {}, Values extends FormikValues = Props, Payload = Values>({displayName, mapPropsToValues, mapValuesToPayload, validationSchema, handleSubmit}: FormikConfig<Props, Values, Payload>): ComponentDecorator<Props, InjectedFormikProps<Props, Values>>; | ||
export default function formik<Props, Values extends FormikValues, Payload>({displayName, mapPropsToValues, mapValuesToPayload, validationSchema, handleSubmit}: FormikConfig<Props, Values, Payload>): ComponentDecorator<Props, InjectedFormikProps<Props, Values>>; |
{ | ||
"name": "formik", | ||
"description": "An elegant way to handle forms in React", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Jared Palmer <jared@palmer.net>", |
@@ -72,3 +72,3 @@ import * as React from 'react'; | ||
*/ | ||
export declare type InjectedFormikProps<Props, Values = Props> = Props & FormikState<Values> & FormikActions<Props> & FormikHandlers; | ||
export declare type InjectedFormikProps<Props, Values> = Props & FormikState<Values> & FormikActions<Props> & FormikHandlers; | ||
/** | ||
@@ -87,2 +87,2 @@ * Formik actions + { props } | ||
} | ||
export default function formik<Props = {}, Values extends FormikValues = Props, Payload = Values>({displayName, mapPropsToValues, mapValuesToPayload, validationSchema, handleSubmit}: FormikConfig<Props, Values, Payload>): ComponentDecorator<Props, InjectedFormikProps<Props, Values>>; | ||
export default function formik<Props, Values extends FormikValues, Payload>({displayName, mapPropsToValues, mapValuesToPayload, validationSchema, handleSubmit}: FormikConfig<Props, Values, Payload>): ComponentDecorator<Props, InjectedFormikProps<Props, Values>>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138710
633