final-form-app-form
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,1 +0,2 @@ | ||
export declare function compose(props: any): (Form: (formOwnProps: any) => any) => any; | ||
/// <reference types="react" /> | ||
export declare function compose(props: any): (Form: (formProps: any) => any) => (ownProps: any) => JSX.Element; |
import React from "react"; | ||
export function compose(props) { | ||
return (Form) => (React.createElement(Form, Object.assign({}, props))); | ||
return (Form) => ((ownProps) => React.createElement(Form, Object.assign({}, props, ownProps))); | ||
} | ||
//# sourceMappingURL=compose.js.map |
@@ -1,2 +0,2 @@ | ||
import { ComponentType } from "react"; | ||
/// <reference types="react" /> | ||
import { IValidator, IValidatorAsync } from "model-state-validation"; | ||
@@ -17,3 +17,3 @@ import { IFormProps } from "./Form"; | ||
constructor(validator?: IValidator<TModel> | IValidatorAsync<TModel>, settings?: FormSettings); | ||
createForm(submit: Submit<TModel>): ComponentType<IFormProps<TModel>>; | ||
createForm(submit: Submit<TModel>): import("react").FunctionComponent<IFormProps<TModel>>; | ||
submitOnClick(): void; | ||
@@ -20,0 +20,0 @@ private handleFormSubmitAsync; |
{ | ||
"name": "final-form-app-form", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "utils for final form using", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
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
51318
580